zurück zur Startseite
  


Zurück XHTMLforum > (X)HTML und CSS > (X)HTML
Seite neu laden Validator Fehler und komm nicht drauf...

Antwort
 
LinkBack Themen-Optionen Ansicht
  #1 (permalink)  
Alt 14.09.2006, 21:54
Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 08.03.2005
Ort: Nürnberg
Beiträge: 94
letslounge befindet sich auf einem aufstrebenden Ast
Standard Validator Fehler und komm nicht drauf...

Hallo,

bekomme beim Validator immer wieder Fehler ausgeworfen und komm nicht drauf woher die rühren, vielleicht kann es mir ja jemand von Euch sagen:

Der Codeabschnitt:
Code:
<div id="navigation">
        <ul>
          <li><a href="index.php">Startseite</a></li>
          <li><a href="ueber_uns_ueber.php" class="current">&Uuml;ber uns</a></li>
          <ul>
            <li><a href="ueber_uns_ueber_xxx.php">&Uuml;ber Verkehrsservice</a></li>
            <li><a href="ueber_uns_mitarbeiter.php">Mitarbeiter</a></li>
            <li><a href="ueber_uns_qualifikationen.php" class="subcurrent">Qualifikationen</a></li>
          </ul>
          <li><a href="leistungen.php">Leistungen</a></li>
          <li><a href="referenzen.php">Referenzen</a></li>
          <li><a href="kontakt_anschrift.php">Kontakt</a></li>
          <!--<ul>
            <li><a href="kontakt_anschrift.php">Anschrift</a></li>
            <li><a href="kontakt_anfahrt.php">Anfahrt</a></li>
            <li><a href="kontakt_impressum.php">Impressum</a></li>
          </ul>-->
        </ul>
      </div>
Doctype:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Und der Vali sagt:

This page is not Valid XHTML 1.0 Strict!


Code:
   1.  Error  Line 25 column 13: document type does not allow element "ul" here; assuming missing "li" start-tag.

                <ul>

      ?
   2. Error Line 30 column 13: document type does not allow element "li" here; missing one of "ul", "ol" start-tag.

                <li><a href="leistungen.php">Leistungen</a></li>

      The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

      One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

      ?
   3. Error Line 31 column 13: document type does not allow element "li" here; missing one of "ul", "ol" start-tag.

                <li><a href="referenzen.php">Referenzen</a></li>

      The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

      One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

      ?
   4. Error Line 32 column 13: document type does not allow element "li" here; missing one of "ul", "ol" start-tag.

                <li><a href="kontakt_anschrift.php">Kontakt</a></li>

      The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

      One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

      ?
   5. Error Line 38 column 12: 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 ">".

      ?
   6. Info Line 25 column 10: start tag was here.

                <ul>

...komm nicht drauf vielliecht weiss von Euch jemand weiter. Danke schon jetzt!

Grüße

Michael

Geändert von letslounge (27.09.2006 um 09:39 Uhr)
Mit Zitat antworten
Sponsored Links
  #2 (permalink)  
Alt 14.09.2006, 21:59
Benutzerbild von Dieter
Erfahrener Benutzer
XHTMLforum-Kenner
 
Registriert seit: 12.09.2003
Beiträge: 3.635
Dieter sorgt für eine eindrucksvolle AtmosphäreDieter sorgt für eine eindrucksvolle Atmosphäre
Standard

Wenn Du Listen verschachteltst, darf vor dem zweiten <ul> kein </li> kommen.
__________________
Informationen aus Koblenz-Metternich
-----------------------------------
"Wissen heißt, Fragen zu erwerben."
Mit Zitat antworten
Sponsored Links
  #3 (permalink)  
Alt 14.09.2006, 22:02
Erfahrener Benutzer
XHTMLforum-Kenner
 
Registriert seit: 20.02.2005
Beiträge: 1.045
Tigereye befindet sich auf einem aufstrebenden Ast
Standard

Die verschachtelte <ul> muss innerhalb von <li>...</li> stehen.
__________________
* {margin:0; padding:0; }
Mit Zitat antworten
  #4 (permalink)  
Alt 14.09.2006, 22:07
Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 08.03.2005
Ort: Nürnberg
Beiträge: 94
letslounge befindet sich auf einem aufstrebenden Ast
Standard

...mittlerweile doch noch draufgekommen - dennoch: vielen Dank

Grüße

Michael
Mit Zitat antworten
Antwort

Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus



Alle Zeitangaben in WEZ +2. Es ist jetzt 15:18 Uhr.