开发者

keep the mouse over color on mouse out

开发者 https://www.devze.com 2023-03-24 19:17 出处:网络
I am actually changing the color of link & its background on mouse over. When I move the cursorto sub menu item the text of parent menu revert back to white. I did try to use a:active to resolve t

I am actually changing the color of link & its background on mouse over. When I move the cursor to sub menu item the text of parent menu revert back to white. I did try to use a:active to resolve this issue but no luc开发者_Go百科k.

please check the main navigation on this site http://kushian.com

for css http://kushian.com/catalog/view/theme/red15/stylesheet/stylesheet.css


this is more of a guess (make a fiddle maybe?), but i think

#menu > ul > li > a:hover{
    color:maroon;
}

needs to be

#menu > ul > li:hover > a{
    color:maroon;
}
0

精彩评论

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