Page 1 of 1

can I highlight the menu item of the actually displayed page?

Posted: Wed Aug 30, 2006 11:34 am
by dominik2883
Hello!

I want to make it easier for people to see where they are. Can I highlight the menu entry of the page which is acutally displayed (i.e. different background color)? If yes, what do I have to change?

Thanks in advance for your help!

Re: can I highlight the menu item of the actually displayed page?

Posted: Wed Aug 30, 2006 11:46 am
by tsw
Yes you can

Code: Select all

#menu li a.active {
background-color:pink;
}
and check that html output has that class for menu items...

Re: can I highlight the menu item of the actually displayed page?

Posted: Thu Aug 31, 2006 4:43 pm
by dominik2883
I tried that already. But the "a active" tag just highlights the link as long as I hold the mouse button down. But it doesn't remain highlighted...

Re: can I highlight the menu item of the actually displayed page?

Posted: Thu Aug 31, 2006 5:22 pm
by tsw
a:active and a.active are two different things