css在chrome和safari的悬停问题 [英] css Hover problem in chrome and safari
本文介绍了css在chrome和safari的悬停问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是有问题的网站
http ://www.clubforeducation.com/
顶部菜单将在鼠标悬停时更改其颜色。所有浏览器(Chrome和Safari除外)。它是一个Webkit错误。
Top menu will change its color at mouse over. All browsers except chrome and Safari. Is it a Webkit bug. If that how can i solve this?
推荐答案
我在< a> ;
工程。我不推荐li:hover,因为它在IE6中不起作用
I find setting display:block on the <a>
works. I don't recommend li:hover because it doesn't work in IE6
这篇关于css在chrome和safari的悬停问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文