[latex]Mae govannen![/latex]
Ich habe deinen Tip ausprobiert und das doctype ganz an den Anfang geschoben, jetzt bekomme ich allerdings bei der Validation folgenden Fehler:
Error Line 3, Column 5: XML Parsing Error: XML declaration allowed only at the start of the document.
<?xml version="1.0" encoding="utf-8"?>
Dann ersetze <?xml version="1.0" encoding="utf-8"?> durch
Wenn die Ressource als text/html ausgeliefert wird, kann die XML-deklaration wegfallen. Ansonsten bliebe noch der Weg, über die Fähigkeiten des Browsers (sendet dieser an den Server) entweder application/xhtml+xml oder text/html auszuliefern.
Lies dazu mal c.schneegans, insbesondere
"text/html oder application/xhtml+xml oder application/xml oder text/xml?" und folgende
Cü,
Kai
--
„It's 106 miles to Chicago, we got a full tank of gas, half a pack of cigarettes, it's dark, and we're wearing sunglasses“.
„Hit it!“
Selfzeugs
SelfCode: sh:( fo:| ch:? rl:( br:< n4:( ie:{ mo:| va:) js:| de:> zu:) fl:( ss:| ls:?
„It's 106 miles to Chicago, we got a full tank of gas, half a pack of cigarettes, it's dark, and we're wearing sunglasses“.
„Hit it!“
Selfzeugs
SelfCode: sh:( fo:| ch:? rl:( br:< n4:( ie:{ mo:| va:) js:| de:> zu:) fl:( ss:| ls:?