validator

  • 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

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress, WoltLab & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • 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

  • 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.

    Zitat von Unregistriert;887152


    <body bgcolor="#808080">


    Warum stellst du die Hintergrundfarbe nicht über die css-Datei dar?

    2

    Zitat von Unregistriert;887152


    <br />


    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:

    Zitat von Unregistriert;887152


    <span class="txt_start">

    Die Regel lautet, dass man üblicherweise html für die Struktur einer Internetseite und css für das Aussehen verwendet.

  • 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">&uuml;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" >&nbsp;</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">&nbsp;</td>
    <td height="40">&nbsp;</td>
    </tr>
    <tr>

    <td >&nbsp;</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>&nbsp;</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 >&nbsp;</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 >&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</td>
    <td height="40">&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</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>&nbsp;</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>&nbsp;</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">&nbsp;</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">&nbsp;</td>
    <td>&nbsp;</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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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.

  • 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.

  • 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;
    }

  • Danke werde ich versuchen, bin heute schon sechs Stunden am verbessern und 5 Fehler hab ich schon, mach aber morgen weiter, gute Nacht allen.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!