我正在运行Wordpress网站,但在Chrome中显示下拉菜单时遇到一些问题。我的CSS在这里:http://pastebin.com/v291BmHP
,菜单代码在这里:
<div class="menu">
<ul>
<li class="current_page_item">
<a href=".../" title="Home">Home</a>
</li>
<li class="page_item page-item-2">
<a href="..." title="About Us">About Us</a>
<ul class='children'>
<li class="page_item page-item-105">
<a href="..." title="History">History</a>
</li>
</ul>
</li>
</ul>
它在IE和Firefox中运行良好。谢谢!
答案 0 :(得分:1)
在此规则中取出显示块:
#access ul li:hover ,
#access ul ul :hover {
color: #FFF; /* HOVER COLOR */
display: block; /* DELETE */
background-image: url('images/keating/nav_hover.jpg');
background-repeat: repeat-x;
}