ChrisB: css, lu, li geht unten über div hinaus

Beitrag lesen

Hi,

Folgende ul-li habe ich geschrieben:

<div class="info"><ul id="language">
To go or return to the start page of your language, click on the corresponding language button
<li><a href="de/index.html">Deutsch</a></li>
<li><a href="en/index.html">English</a></li>
<li><a href="fr/index.html">Français</a></li>
<li><a href="ru/index.html">Русский</a></li><br>
<span style="float:left"><li>or go to the &nbsp;<a href="index.html">Welcome page</a></li></span></ul>
</div>

  
Das ist gleich an mehreren Stellen invalides HTML – UL darf \*ausschlielich\* LI als Kindelemente haben. Du hast aber direkt Text in UL gepackt, und BR und SPAN … nicht erlaubt.  
Bring das zu aller erst mal in Ordnung.  
  
(Frag den [Validator](http://validator.w3.org/), wenn du dir nicht sicher bist ob du alle Fehler beseitigt hast.)  
  
MfG ChrisB  
  

-- 
Autocomplete has spoiled me to a point where it happens every so often that I encounter a CAPTCHA, and I just type in the first character … and then wait for the rest of the code to be automatically suggested :/