Autor |
Nachricht |
michi1345
Threadersteller
Dabei seit: 03.07.2012
Ort: -
Alter: -
Geschlecht: -
|
Verfasst Di 03.07.2012 20:29
Titel Fehler bei der Valdierung nicht nachvollziehbar |
|
|
Hallo,
habe meine Seite validieren lassen, dabei kamen einige Fehlermeldungen, die mir nicht ganz nachvollziehbar sind:
z.B.
[quote]Line 7, Column 18: there is no attribute "LEFTMARGIN"<body leftmargin="50" topmargin="75">
✉
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
[/quote]
Eigentlich hab ich den richtigen Dokumententyp und der Browser gibt auch alles so aus, wie ich es haben möchte. Ich weiß nicht wo das Problem liegt. Wäre dankbar, wenn mir jemand auf die Sprünge helfen würde.
Mein Dokument:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Biotopfische im Gartenteich</title>
</head>
<body leftmargin="50" topmargin="75">
<table align="left" height="250" width="200" border="0" bgcolor="#98fb98" cellspacing="10" cellpadding="0">
<tr>
<th><font color="" size="+1">
<a href="index.html">Startseite</a><br>
<strong>Teichfische</strong><br>
<a href="elritze.html">Elritze</a><br>
<a href="karausche.html">Karausche</a><br>
<a href="moderlieschen.html">Moderlieschen</a><br>
<a href="bitterling.html">Bitterling</a><br>
<a href="stichling.html">dreistachliger Stichling</a><br>
<a href="schlammpeitzger.html">Schlammpeitzger</a><br>
<a href="gründling.html">Gründling</a><br>
<a href="bachschmerle.html">Bachschmerle</a>
<p> </p>
<a href="shops.html">Erwerb von Teichfischen</a>
</font>
</th>
</tr>
</table>
<table align="left" height="500" width="800" border="1" cellspacing="20" cellpadding="0" bgcolor="">
</table>
</body>
</html>
|
|
|
|
|
DEKONSTRUKTIV
Dabei seit: 22.06.2009
Ort: bln
Alter: -
Geschlecht: -
|
Verfasst Di 03.07.2012 20:45
Titel
|
|
|
der quatsch is nunmal nich alides 4.01, was willste machen?
also: 2005 called, they want their markup back
|
|
|
|
|
Anzeige
|
|
|
michi1345
Threadersteller
Dabei seit: 03.07.2012
Ort: -
Alter: -
Geschlecht: -
|
Verfasst Di 03.07.2012 20:51
Titel
|
|
|
wie nicht alides 4.01?
muss ich den doctype ändern oder?
|
|
|
|
|
Piki
Dabei seit: 30.01.2008
Ort: -
Alter: -
Geschlecht: -
|
Verfasst Di 03.07.2012 22:02
Titel
|
|
|
michi1345 hat geschrieben: | <body leftmargin="50" topmargin="75">
|
selfhtml hat geschrieben: | Bitte benutzen Sie die hier beschriebenen HTML-Attribute nur in begründeten Ausnahmefällen - sie werden an dieser Stelle nur der Vollständigkeit halber erwähnt. Diese Attribute gehörten nie zum HTML-Standard und sind ein typisches Beispiel dafür, welcher Wirrwarr entsteht, wenn Browser ihr eigenes Süppchen kochen. Benutzen Sie auf jeden Fall Stylesheets zum Definieren von Seitenrändern.
|
michi1345 hat geschrieben: | <table align="left" height="250" width="200" border="0" bgcolor="#98fb98" cellspacing="10" cellpadding="0">
<tr>
<th><font color="" size="+1">
<a href="index.html">Startseite</a><br>
<strong>Teichfische</strong><br>
<a href="elritze.html">Elritze</a><br>
<a href="karausche.html">Karausche</a><br>
<a href="moderlieschen.html">Moderlieschen</a><br>
<a href="bitterling.html">Bitterling</a><br>
<a href="stichling.html">dreistachliger Stichling</a><br>
<a href="schlammpeitzger.html">Schlammpeitzger</a><br>
<a href="gründling.html">Gründling</a><br>
<a href="bachschmerle.html">Bachschmerle</a>
<p> </p>
<a href="shops.html">Erwerb von Teichfischen</a>
</font>
</th>
</tr>
</table>
<table align="left" height="500" width="800" border="1" cellspacing="20" cellpadding="0" bgcolor="">
</table>
</body>
</html> |
DEKONSTRUKTIV hat geschrieben: | 2005 called, they want their markup back
|
2005? 1995 called!
Zuletzt bearbeitet von Piki am Di 03.07.2012 22:05, insgesamt 1-mal bearbeitet
|
|
|
|
|
|
|
|
Ähnliche Themen |
Komischer 404-Fehler
[Internetzugang] DSL - Fehler 769
Visas Root Server - Denic Fehler -> Nameserver ändern - WIE?
|
|