Hi,
/*Beschriftung für KarteireiterKopf, inaktives Element*/
#tablist
{
font-family: Arial, sans-serif;
font-size: 14px;
font-style:normal;
color: #006699;
float: left;
background-color: #FFFFFF;
line-height:normal;
}
float ohne explizite Breite ist ungültig.
Siehe http://www.w3.org/TR/REC-CSS2/visuren.html#floats - zweiter Absatz:
A floated box must have an explicit width (assigned via the 'width' property, or its intrinsic width in the case of replaced elements).
#tablist li
{
background: url(/Bilder/right-inactive-tab.png) no-repeat right top;
float: left;
margin:0;
color:#00FF00;
padding:0;
}
float ohne explizite Breite ist ungültig, s.o..
Ein li ist - ohne explizite Breitenangabe - so breit wie möglich, sprich 100%.
Wenn ein Browser also das float trotz fehlender Breitenangabe zu interpretieren versuchte, müßte er feststellen, daß kein zweites li neben das erste paßt, da dieses erste li ja bereits die gesamte Breite benötigt.
Dein Code ist falsch, damit ist das, was ein Browser damit macht, nicht vorhersehbar.
cu,
Andreas
Warum nennt sich Andreas hier MudGuard?
Fachfragen per E-Mail halte ich für unverschämt und werde entsprechende E-Mails nicht beantworten. Für Fachfragen ist das Forum da.