Mouseover in menu for background AND text

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
CodexX
Posts: 27
Joined: Wed 6. Oct 2004, 00:14
Location: Germany

Mouseover in menu for background AND text

Post by CodexX »

concerns: NAV_TABLE_COLUMN
with the curser over a menu field the background color changes but the text doesn't. it only changes when the cursor is over the text.

is it possible to link those to mouseover effects so that the text also changes (becomes bold or underlined) if the mouse is over its line (and the background color changes).

thank you. :)
Pappnase

Post by Pappnase »

if i remember right you can control this via css! :shock:
rtilghman
Posts: 107
Joined: Tue 1. Mar 2005, 17:22

Post by rtilghman »

Make the link style "display: block". You can isolate the scope of the style by putting a class on the TD that surrounds your menu RT in the template and implementing the style like the following:

TDMenuID ul li a {
display: block;
}

Best,
rt
CodexX
Posts: 27
Joined: Wed 6. Oct 2004, 00:14
Location: Germany

Post by CodexX »

rtilghman wrote: TDMenuID ul li a {
display: block;
}
hi!
it was a bit trickier but with the clue "display: block" i was able to manage it.
thanks
:)
Post Reply