Autor Gast
Datum 26.11.2006 16:00
Beiträge: Danke. Gibt's irgendwo eine Aufstellung der "Standard-OPN-Funktionen" oder muss ich mich in Reverse Engineering üben?

Noch eine andere Frage - und dann geb' ich schon wieder ruhe:
Ich habe die HTML-Seite ursprünglich mit FP entworfen - aber offenbar erzeugt dieser alles andere als W3C kompatiblen Code.

Ich habe jetzt solage rumgespielt, bis ich alle Fehler weg habe - bis auf einen:
Error Line 23, column 45: document type does not allow element "BODY" here .
<body bgcolor="#99CCFF" onload="ShowFactor()">
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).


Lt. selfhtml.org stimmt meine Syntax aber - gibt's unter HTML 4.01 transitional keine Attribute bei "body" mehr? Bin etwas ratlos...

Ciao,
Boby



Diese Seite drucken
Diese Seite schließen

Dieser Artikel kommt von: OpenPHPNuke - das Open Source CMS

http://www.openphpnuke.info/