> You could go about it in this way:
> For the home page, give the body tag the class "home" (<body
> class="home">), for the About Us page, (<body class="about_us">) and
> so on.
> The menu items should also have classes, eg (<li
> class="home">Home</li><li class="about_us">About Us</li>...).
>
> Your css should look like this:
>
> .home .home { display:none;}
> .about_us .about_us, .contact_us .contact_us, {background-color: red;}
> /* highlighting the current menu item */
>

Here is an example of the above technique:
http://www.roughtech.com/t/menu_style1.html

Regards,
Chetan Crasta
______________________________________________________________________
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/

Reply via email to