Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

XHTML - Tabellen Problem

Empfohlene Antworten

Veröffentlicht

Hallo ich hab ein problem mit der xhtml datei unten.

wenn ich es als normale html (also ohne xml, doctype usw) dann sieht die seite "normal" aus.. mit den xml-sachen aber sieht die datei zerstört aus.

Das Problem tritt sicher unter Safari und mozilla (camino) auf...

kann mir jemand helfen? thx.

(der code is abgewandelt von phpsysinfo... nur damit ich mich nicht mit falschen federn schmücke!)


<?xml version="1.0" encoding="UTF-8"?>  

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"><style type="text/css">

@import url(aq.css);

</style><head><title>Fehlermeldung</title></head>

<body background="images/bg.gif">

 <br  />

	<center><h2>Fehlermeldung</h2></center>

	<table width="100%" border="0" cellspacing="0" cellpadding="0">

		<tr> 

    			<td width="15" height="15" background="images/coinsupg.gif"><img src="images/space15_15.gif" width="15" height="15" alt="none" /></td>

    			<td height="15" background="images/sup.gif"><img src="images/space15_15.gif" width="15" height="15" alt="none" /></td>

    			<td width="15" height="15" background="images/coinsupd.gif"><img src="images/space15_15.gif" width="15" height="15" alt="none"  /></td>

  		</tr>

		<tr>

			<td width="15" background="images/g.gif"><img src="images/space15_15.gif" width="15" height="15" alt="none" /></td>

			<td background="images/fond.gif" align="left" width="100%">

				 <br />

				 <br />

					<center>

						<h2>Achtung</h2><br />

						<b>Es ist ein Fehler aufgetreten!</b><br />

						</center>

			</td>

			<td />

		</tr>

		<tr> 

    			<td width="15" height="15" background="images/coininfg.gif"><img src="images/space15_15.gif" width="15" height="15" alt="none" /></td>

    			<td height="15" background="images/inf.gif"><img src="images/space15_15.gif" width="15" height="15" alt="none" /></td>

    			<td width="15" height="15" background="images/coininfd.gif"><img src="images/space15_15.gif" width="15" height="15" alt="none" /></td>

  		</tr>

	</table>

</body>

</html>

Was meinst du mit zerstört ?

Du hast doch auch gar keine XML-Daten in deinem Code, so wie ich das sehen ist das alles nur HTML!

Mit welcher Endung hast du denn die Seite gespeichert ?

xhtml = xml.

Wenn ich den xhtml-header benutze, dann ist das ist die Tabelle leicht "verschoben".

benutze ich den html header, dann sieht alles "normal" aus.

Dann behalte doch einfach den HTML-Header.

Wieso willst du denn unbedingt xml haben ?

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.