Gunnar Bittersmann: Problem mit Darstellung in Firefox, IE macht es richtig ???!!!

Beitrag lesen

@@MudGuard:

Und Du hast den Selektor geändert.

Dort:    #navcontainer ul
Bei Dir: <!-- Standart Navi --> #navcontainer ul

AFAIS ist '<!-- Standart Navi --> #navcontainer ul' kein Selektor.

CDO         : '<!--';
CDC         : '-->';
stylesheet  : [ CDO | CDC | S | statement ]*;
statement   : ruleset | at-rule;
ruleset     : selector? '{' S* declaration? [ ';' S* declaration? ]* '}' S*;

[CSS21 §4]

CDO und CDC gehören nicht zum statement, ergo nicht zum ruleset, ergo nicht zum selector.

'Standart Navi' ist freilich kein gültiges statement.

@Markus82:

Kommentare in CSS: [CSS2 §4.1.9]

Standart oder Standard?

Live long and prosper,
Gunnar

--
“New Jersey Hall of Fame? […] But then I ran through the list of names: Albert Einstein, Bruce Springsteen... my mother's going to like that. […] it's the only time she's going to hear those two names mentioned in the same sentence, so I'm going to enjoy it.” (Bruce Springsteen when inducted into the New Jersey Hall of Fame, 2008-05-04)