Previous Message
Next Message

changing specific menu items

Sent by Rainer Halbmann on 21 November 2006 11:11


hi Ross,

Ross Hulford schrieb:
> I thought something like this (body id - ul id - li id - a:link) would work. any ideas?
> 
> #aboutus #menu #about a {> 
> color: yellow;> 
> }
Should work like that, but as francky said, let the cascade work for 
you. Plus, if you do it with classes instead of ids, you can name the 
body and the li the same - that's maybe a little bit easier to handle 
than to come up with two different ids for the same purpose that are 
easily mixed up and have to be remembered.

Have a look at this short howto that does it like that:
http://24ways.org/advent/auto-selecting-navigation

greets,
rainer
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: