rivkamak
asked on
li menu
I have a menu made out of
when I hover and the submenu opens, the hover affect happens on the second ul/li and the main tab doesn't highlite anymore.
is there a way to keep the hover on the main li and on the sub li?
<ul>
<li>
<ul>
<li></li>
</ul>
</li></ul>
when I hover and the submenu opens, the hover affect happens on the second ul/li and the main tab doesn't highlite anymore.
is there a way to keep the hover on the main li and on the sub li?
ASKER
My site is here:
http://ytcdenver.org/student-life/high-school
http://ytcdenver.org/student-life/high-school
Try #nav ul:hover {background:whatever you want}
You also have a problem with the menu going behind other elements. you should add a z-index to the ul with a high enough value to be on top.
Cd&
You also have a problem with the menu going behind other elements. you should add a z-index to the ul with a high enough value to be on top.
Cd&
ASKER
If I do ul:hover , the whole ul highlites.
I want just the li that is on the second ul to have a hover state
I want just the li that is on the second ul to have a hover state
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Cd&