On Fri, Mar 6, 2009 at 5:15 AM, Thomas Burkhart <[email protected]>wrote:
> Hi, > > I stumbled upon the following problem. > > Just have a look at my site > http://www.ourmagic.net/index_copy(1).htm<http://www.ourmagic.net/index_copy%281%29.htm> > > And > http://www.ourmagic.net/index_copy(2).htm<http://www.ourmagic.net/index_copy%282%29.htm> > > The site is under heavy reconstruction so please only comment on the > problem > I describe. > > Looks different. > > > In index_copy(2) you can see, that there is a grey submenu but none of the > mainmenu links is yellow > > I wanted to hightlight the last Mainmenu "Kontakt" in yellow with this > statement in the header section of the page > > #menuKontakt > a{color:#fef000}; I also tried #menuKontakt > a{color:#fef000}; that is the only change > > The result is index_copy(1) where "Kontakt" IS yellow, but suddenly the > whole submenue is gone. > > Next time, just link to the CSS stylesheet? ;) Your problem is invalid CSS. In the second page, the first invalid statement is commented out, allowing the display: block declaration to actually work. Move your semi-colons inside the braces on the HTML pages. Also, this is something that could be caught in the CSS validator. -- -Jack Timmons http://www.trotlc.com Twitter: @jorachim ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
