开发者

CSS vertical Menu - Menu Item Goes to no-hover state on sub-menu hover

when i go to an submenu item on... the Item from the main menu goes to no-hover state.. i want it to stay in hover state if i am on its sub-menu...

take a look a开发者_JS百科t my code here

what i am doing wrong


I haven't tried it out, but it should work, if you define the :hover on the li instead of a (however that won't work in IE6).

So instead of

a:hover { ... }

use

li:hover a { ... }
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜