![]() |
Anzeige:
|
|
|||||||
| Homepagegestaltung Fragen zur Gestaltung und Realisierung der eigenen Homepage |
|
![]() |
|
|
LinkBack | Themen-Optionen | Ansicht |
|
|
#1 (Direktlink) |
|
Gast
Beiträge: n/a
|
Hallo un nen schönen Abend,
habe wieder mal ne schulaufgabe,ne Webseite zu machen und die is gar nicht so schlecht geworden, bis auf die 30 Fehler beim Validatortest. Das komische ist, das wenn ich die Tags schliese, isses immer noch falsch, lasse ich es so, is es auch falsch. Habe jetzt schon Stundenlang geübt an HTML, aber irgendwie stimmt was nich. Is immer der selbe Fehler, vielleicht kann mir jemand sagen, was ich falsch mache. Hier mal das Ergebniss. ↑ Top Validation Output: 30 Errors Line 24, Column 31: document type does not allow element "script" here; assuming missing "body" start-tag <script type="text/javascript"> Line 31, Column 25: document type does not allow element "body" here <body bgcolor="#808080" > 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). Line 34, Column 108: character ";" not allowed in attribute specification list …ng="0" bgcolor="#EAE7DE" class="rahmen_tabelle" ;background-repeat:no-repeat;"> ✉ Line 34, Column 109: character data is not allowed here …ng="0" bgcolor="#EAE7DE" class="rahmen_tabelle" ;background-repeat:no-repeat;"> ✉ You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include: putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>), or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes), or using XHTML-style self-closing tags (such as <meta ... />) in HTML 4.01 or earlier. To fix, remove the extra slash ('/') character. For more information about the reasons for this, see Empty elements in SGML, HTML, XML, and XHTML. Line 220, Column 4: document type does not allow element "li" here <li><span class="txt_start"><br /> ✉ 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). Line 221, Column 4: document type does not allow element "li" here <li><span class="txt_start"> ✉ 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). Line 222, Column 4: document type does not allow element "li" here <li><span class="txt_start"><br /> ✉ 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). Line 223, Column 4: document type does not allow element "li" here <li><span class="txt_start">Be<br… ✉ 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). Line 224, Column 4: document type does not allow element "li" here <li><span class="txt_start">Kon<br /> ✉ 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). Line 225, Column 4: document type does not allow element "li" here <li><span class="txt_start">Ge ✉ 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). Line 226, Column 4: document type does not allow element "li" here <li><span class="txt_start">Dee<br /> ✉ 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). Line 227, Column 4: document type does not allow element "li" here <li><span class="txt_start"><br /> ✉ 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). Line 230, Column 5: end tag for "span" omitted, but OMITTAG NO was specified </ul> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 226, Column 5: start tag was here <li><span class="txt_start">Dee<br /> Line 230, Column 5: end tag for "li" omitted, but OMITTAG NO was specified </ul> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 226, Column 1: start tag was here <li><span class="txt_start">Dee<br /> Line 230, Column 5: end tag for "span" omitted, but OMITTAG NO was specified </ul> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 225, Column 5: start tag was here <li><span class="txt_start">Ge Line 230, Column 5: end tag for "li" omitted, but OMITTAG NO was specified </ul> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 225, Column 1: start tag was here <li><span class="txt_start">Ge Line 230, Column 5: end tag for "span" omitted, but OMITTAG NO was specified </ul> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 224, Column 5: start tag was here <li><span class="txt_start">Ko<br /> Line 230, Column 5: end tag for "li" omitted, but OMITTAG NO was specified </ul> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 224, Column 1: start tag was here <li><span class="txt_start">Ko<br /> Line 230, Column 5: end tag for "span" omitted, but OMITTAG NO was specified </ul> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 223, Column 5: start tag was here <li><span class="txt_start">Be<br… Line 230, Column 5: end tag for "li" omitted, but OMITTAG NO was specified </ul> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 223, Column 1: start tag was here <li><span class="txt_start">Be<br… Line 230, Column 5: end tag for "span" omitted, but OMITTAG NO was specified </ul> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 222, Column 5: start tag was here <li><span class="txt_start">Er<br /> Line 230, Column 5: end tag for "li" omitted, but OMITTAG NO was specified </ul> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 222, Column 1: start tag was here <li><span class="txt_start">Er<br /> Line 230, Column 5: end tag for "span" omitted, but OMITTAG NO was specified </ul> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 221, Column 5: start tag was here <li><span class="txt_start">Un Line 230, Column 5: end tag for "li" omitted, but OMITTAG NO was specified </ul> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 221, Column 1: start tag was here <li><span class="txt_start"> Line 230, Column 5: end tag for "span" omitted, but OMITTAG NO was specified </ul> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 220, Column 5: start tag was here <li><span class="txt_start"><br /> Line 230, Column 5: end tag for "li" omitted, but OMITTAG NO was specified </ul> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 220, Column 1: start tag was here <li><span class="txt_start"><br /> Line 230, Column 5: end tag for "span" omitted, but OMITTAG NO was specified </ul> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 219, Column 5: start tag was here <li><span class="txt_start"> Line 230, Column 5: end tag for "li" omitted, but OMITTAG NO was specified </ul> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 219, Column 1: start tag was here <li><span class="txt_start"> Line 271, Column 5: end tag for "td" omitted, but OMITTAG NO was specified </tr> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 262, Column 1: start tag was here <td align="left" class="txt_kontaktform"><strong></strong><br… Line 282, Column 7: end tag for "body" omitted, but OMITTAG NO was specified </html> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Line 24, Column 1: start tag was here <script type="text/j |
|
|
|
|
#2 (Direktlink) |
|
Super-Moderator
![]() Registriert seit: 22.05.2005
Ort: c:\DE\NDS\SHG\Rinteln
Alter: 21
Beiträge: 5.808
|
Hast du mal einen Link zur Seite? Ist für uns dann wesentlich einfacher, die Fehler zu finden.
__________________
Hauptrechner: Intel Q6600 | Gigabyte P35-DQ6 | ATi Radeon 2900XT | 4 GB OCZ RAM | Corsair HX520W | 31 TB Festplattenkapazität | 120 GB OCZ Vertex II SSD | Wasserkühlung LAN-Rechner: Intel Xeon UP W3520 | nVidia Geforce 8800 GTS | 4 GB TeamGroup RAM | LC Power LC6550 | 640 GB Platte HTPC: AMD Athlon II X2 250 | Foxconn A88GM Deluxe | 4 GB TeamGroup RAM | 3 TB Hitachi Platte |
|
|
|
|
|
#3 (Direktlink) |
|
Stammuser
![]() Registriert seit: 18.05.2009
Ort: im Greenländle
Alter: 39
Beiträge: 405
|
Hallo Unregistrierte(r)!
Es wäre wirklich am besten, mal den kompletten Code sehen zu können. Zu einigen Punkten möchte ich aber jetzt schon etwas sagen: 1. Warum stellst du die Hintergrundfarbe nicht über die css-Datei dar? 2 Ich würde diese Zeilenumbrüche (um Abstände zu schaffen) weglassen und die Abstände ebenfalls per css darstellen. Dass Du eine css-Datei angelegt hast, schliesse ich daraus, dass du z.B. hier ein class-Attribut verwendest: Die Regel lautet, dass man üblicherweise html für die Struktur einer Internetseite und css für das Aussehen verwendet. |
|
|
|
|
|
#4 (Direktlink) |
|
Gast
Beiträge: n/a
|
Hallo ein schönes neues Jahr für euch alle und auf hoffentlich ne bessere Welt. Entschuldigt, das es so lange gedauert hatt, habe etwas feiern dürfen und jetzt geht es mir nit so gut ( Kater )
Hier der Quellcode einen link zur Webseite kann ich nicht geben, gibt keinen, is nur für die Schule zum lernen. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title></title> <link rel="icon" href="favicon.ico" type="image/x-icon" /> <meta name="keywords" content="uu" /> <meta name="description" content=" " /> <meta name="revisit-after" content="7 days" /> <meta name="robots" content="index,follow" /> <meta name="language" content="german,deutsch,DE," /> <meta name="distribution" content="global" /> <meta name="page-topic" content="uu" /> <meta name="audience" content="all" /> <meta name="revisit-after" content="5 days" /> <meta name="copyright" content="uu" /> <meta name="author" content="" /> <link rel="stylesheet" type="text/css" href="css-menu01.css" /> </head> <body bgcolor="#808080" > <table width="900" align="center" cellpadding="0" cellspacing="0" bgcolor="#EAE7DE" class="rahmen_tabelle" ;background-repeat:no-repeat;"> <tr> <td valign="top"> <table width="900" border="0" align="center" cellpadding="0" cellspacing="0" class="rahmen_tabelle"> <tr> <td height="132" valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center"> <tr> <td width="167" rowspan="2" align="center" nowrap="nowrap" bgcolor="#E9E6DD"><a href="index.html"><img src="images/header/photo.gif" alt="" width="167" height="154" border="0" /></a></td> <td colspan="6" align="right" valign="bottom" nowrap="nowrap" bgcolor="#E9E6DD" ><img src="images/header/logo.gif" alt="" width="855" height="115" /></td> </tr> <tr> <td bgcolor="#4A4A4A"> <!-- HIER ANFANG --> <ul id="nav"> <li style="width:130px"> <a href="index.html" style="margin-left:60px">Home</a> </li> <li style="width:162px"> <a href="#" style="margin-left:60px">Unternehmen</a> <ul style="margin-left:60px;padding:5px"> <li style="margin-left:10px"><a href="Wirtschaft.html">Wirtschaft</a></li> <li style="margin-left:10px"><a href="Mehr Wirtschaft.html">Mehr Wirtschaft</a></li> <li style="margin-left:10px"><a href="Privat.html">Privat</a></li> <li style="margin-left:10px"><a href="ueberuns.html">über uns </a></li> </ul> </li> <li style="width:163px"> <a href="impressum.html" style="margin-left:60px">Impressum</a> </li> <li style="width:170px"> <a href="#">Kontakt</a> <ul style="padding:5px"> <li style="margin-left:10px"><a href="kontakt.html" class="dd">Anfrage</a></li> </ul> </li> </ul> <!-- HIER ENDE --> </td><td width="12" align="left" bgcolor="#4A4A4A" > </td> <td align="right" bgcolor="#4A4A4A" ></td> </tr> </table> </td> </tr> <tr> <td valign="top"> <table border="0" align="center" cellpadding="0" cellspacing="0" class="unter_table"> <tr> <td width="168" height="320" align="left" valign="top" nowrap="nowrap" bgcolor="#4A4A4A" > <table width="100%" border="0" cellspacing="0" > <tr> <td width="25"> </td> <td height="40"> </td> </tr> <tr> <td > </td> <td><a href="f.html?id_link=F" class="ueber">F</a> <hr align="left" width="130" size="1" style="color:#CCCCCC; height:1px; background-color: #CCCCCC; border: none;" /> </td> </tr> <!-- --> <!-- --> <!-- <tr> <td> </td> <td><a href="s.html?id_link=S" class="ueber">S</a> <hr align="left" width="130" size="1" style="color:#CCCCCC; height:1px; background-color: #CCCCCC; border: none;" /></td> </tr> --> <!-- --> <tr> <td > </td> <td><a href="s.html?id_link=S" class="ueber">S</a> <hr align="left" width="130" size="1" style="color:#CCCCCC; height:1px; background-color: #CCCCCC; border: none;" /> </td> </tr> <!-- --> <!-- --> <!-- --> <tr> <td > </td> <td><a href="b.html?id_link=b" class="ueber">B</a> <hr align="left" width="130" size="1" style="color:#CCCCCC; height:1px; background-color: #CCCCCC; border: none;" /> </td> </tr> <!-- --> <!-- --> </table> <br /> <table width="100%" border="0" cellspacing="0" > <tr> <td width="25"> </td> <td><a href="t.html?id_link= t" class="ueber">T</a> <hr align="left" width="130" size="1" style="color:#CCCCCC; height:1px; background-color: #CCCCCC; border: none;" /></td> </tr> </table> <br /> <table width="100%" border="0" cellspacing="0" > <tr> <td width="25"> </td> <td><a href="h.html?id_link=H" class="ueber">H</a> <hr align="left" width="130" size="1" style="color:#CCCCCC; height:1px; background-color: #CCCCCC; border: none;" /></td> </tr> </table> <!-- <table width="100%" border="0" cellspacing="0" > <tr> <td width="25"> </td> <td height="40"> </td> </tr> <tr> <td> </td> <td><a href="index.html.html" class="ueber">Home</a> <hr align="left" width="130" size="1" style="color:#CCCCCC; height:1px; background-color: #CCCCCC; border: none;" /></td> </tr> <tr> <td> </td> <td><a href="u.html" class="ueber">u</a> <hr align="left" width="130" size="1" style="color:#CCCCCC; height:1px; background-color: #CCCCCC; border: none;" /></td> </tr> <tr> <td> </td> <td><a href="impressum.html" class="ueber">I</a> <hr align="left" width="130" size="1" style="color:#CCCCCC; height:1px; background-color: #CCCCCC; border: none;" /></td> </tr> </table> <br /> <table width="100%" border="0" cellspacing="0" > <tr> <td width="25"> </td> <td><a href="kontakt.html" class="ueber">Kontakt</a> <hr align="left" width="130" size="1" style="color:#CCCCCC; height:1px; background-color: #CCCCCC; border: none;" /></td> </tr> </table> --> </td> <td colspan="2" rowspan="2" align="center" valign="top" > <table width="90%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="35"> </td> <td> </td> </tr> <tr> <td align="left" valign="top"><p class="ueberschrift">H<br /></p> <p class="txt_start">W</p> <ul> <li><span class="txt_start"><br /></span></li> <li><span class="txt_start"></span></li> <li><span class="txt_start"><br /> <li><span class="txt_start"><br /> <li><span class="txt_start"><br /> <li><span class="txt_start"><br /> <li><span class="txt_start"><br /> <li><span class="txt_start"><br /> <li><span class="txt_start"><br /> <li><span class="txt_start"><br /> <li><span class="txt_start"><br /> </span> </li> </ul> <p class="txt_start">Vo<br /><br /> <br /> </p> <br /> </td> <td valign="top"> <img src="images/header/photo1.gif" alt="" /><br /> <br /> <table width="80%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <span class="txt_start"><em><strong>W</strong></em><br /> <br /> <em><strong> I<br /> </strong></em></span></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td height="320" align="center" valign="top" nowrap="nowrap" bgcolor="#EAE7DE"><table width="95%" border="0"> <tr> <td align="left" class="txt_kontaktform"><strong>De</strong><br /> aße. 1<br /> <br /> Te<br /> Mobil: 01 <br /> <br /> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </body> </html> Unser Lehrer will uns das Leben schwer machen, krieg das net hin. Jetzt kommt er auch noch mit Untermenüs, ich lerne erst seit vier Monaten, na ja, da muss ich durch. Solltet Ihr die css brauchen, bitte sagen, werde das dann auch tun. |
|
|
|
#5 (Direktlink) |
|
Stammuser
![]() Registriert seit: 18.05.2009
Ort: im Greenländle
Alter: 39
Beiträge: 405
|
Also ich würde die css-Datei gerne sehen, damit ich alles schnell mal in meinen Quelltext-Editor kopieren kann, um mir dann anzusehen, wo der gleich meckert (noch bevor man die Seite validiert) und wie die Seite in der Browservorschau überhaupt aussieht.
Was mir aber auf den ersten Blick auffällt, ist, dass Du hier im html Dinge wie margin-left und padding verwendest. Das gehört normalerweise in die css-Datei oder hast Du das so gelernt?* Was hast Du denn dann noch in der css-Datei? EDIT: *Vermutlich nicht, da in unmittelbarem Bezug id="nav" steht. Geändert von Verzweifelte200 (02.01.2012 um 15:13 Uhr) |
|
|
|
|
|
|
#6 (Direktlink) |
|
Gast
Beiträge: n/a
|
Und hier die zweite css Datei die wir auch ändern sollen.
|
|
|
|
#7 (Direktlink) |
|
Stammuser
![]() Registriert seit: 18.05.2009
Ort: im Greenländle
Alter: 39
Beiträge: 405
|
Wo?
Und wieso 2 css-Dateien? |
|
|
|
|
|
#8 (Direktlink) |
|
Gast
Beiträge: n/a
|
Hier die is vom Menü und sorry, dachte die ist schon drin. Unser Lehrer will 2 css Dateien, was soll ich machen und zwei links dazu, is viel ne, sagte ich ja.
Wir sollen da ne Webseite machen ohne Fehler ist die Vorgabe. Die Fehler erkennen und wegmachen, nur das is echt schwer. #container { text-align: center; } /*border: solid 0.05em #630; line-height: 0.9; */ #nav, #nav ul { font-size: 12px; background-color: #4A4A4A; list-style-type: none; float: left; margin: 0 0 0em; padding: 0; width: 650px; height: 19px; border-bottom: #4A4A4A; line-height: 19px; } #nav a {font-size: 12px;color: #FFFFFF; font-family: Verdana; text-decoration: none; width: 4em; width: 4em; display: block } #nav a:hover { font-size: 12px; color: #FFCC00; font-family: Verdana; text-decoration: none; width: 4em; width: 4em; display: block; } #nav ul a { color: #CCCCCC; } /* #nav a { color: #870000; font-family: Verdana; text-decoration: none; width: 10em; width: 4em; display: block } #nav a:hover { color: #060; font-family: Verdana; text-decoration: none; width: 10em; width: 4em; display: block } #nav a { color: #870000; font-family: Verdana; text-decoration: none; padding: 0.25em 1em; width: 10em; width: 4em; display: block } #nav a:hover { color: #060; font-family: Verdana; text-decoration: none; padding: 0.25em 1em; width: 10em; w\idth: 4em; display: block } */ #nav a.dd { background: no-repeat right center } #nav li { float: left; padding: 0; text-align: left; } /* #nav li { float: left; padding: 0 ; width: 6em } */ #nav li ul { font-weight: normal; margin: 0; position: absolute; left: -999em; width: 10em; height: auto; w\idth: 10em; border-top-color: #000000; border-right-color: #000000; border-bottom-color: #000000; border-left-color: #000000; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-style: solid; } #nav li li { width: 100% ; } /*#nav li ul a { width: 13em; width: 9em } */ #nav li ul ul { margin: -1.75em 0 0 14em; } #nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul { left: -999em } #nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { left: auto } #nav li:hover, #nav li.sfhover { } #content { clear: left; } |
|
|
|
#9 (Direktlink) |
|
Dauergast
![]() Registriert seit: 04.07.2004
Ort: Leipzig
Beiträge: 1.085
|
Die Fehler erkennen ist ganz einfach, wenn man sich an das hält was vom W3C für die verschiedenen HTML-Standards festgelegt wurde - und was dein Lehrer dir gesagt haben sollte. Wenn dir englische Meldungen nichts sagen, versuch es mit einem deutschen Validator, z.B.: HTML / XHTML / XML / WML Validator
|
|
|
|
|
|
#10 (Direktlink) |
|
Gast
Beiträge: n/a
|
Danke werde ich versuchen, bin heute schon sechs Stunden am verbessern und 5 Fehler hab ich schon, mach aber morgen weiter, gute Nacht allen.
|
|
|
![]() |
|
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | |
|
|
Ähnliche Themen
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| der W3C-validator meckert | desktopman | Homepagegestaltung | 2 | 14.12.2011 11:14 |
| HTML Validator 0.8.6.1 | Paule | 5.) Firefox & Thunderbird PlugIns | 0 | 31.05.2010 16:20 |
| Total Validator Tool 6.3 Linux | Paule | 1.) Internet Tools | 0 | 20.05.2010 21:40 |