【发布时间】:2015-09-17 17:53:49
【问题描述】:
我在下拉菜单中有 CSS
#templatemo_menu {
display: block;
width: 910px;
height: 60px;
margin:0px;
padding:0px;
background: #4c4032 url(images/templatemo_menu_background.gif) no-repeat;
}
#templatemo_menu li{
list-style:none;
float:left;
position:relative;
}
#templatemo_menu ul {
padding: 15px 0 0 0;
margin: 0 0 0 120px;
list-style: none;
}
#templatemo_menu ul li a{
padding: 0 30px;
font-size: 13px;
font-weight: bold;
text-align:center;
text-decoration:none;
color: #FFFFFF;
display:block;
}
#templatemo_menu ul ul{
position:absolute;
left:0px;
display:none;
}
当鼠标悬停在父框上时控制导航栏中的子框
#templatemo_menu ul li:hover ul{
color: #fe551e;
display:block;
}
#templatemo_menu li a:hover, #templatemo_menu li .current{
color: #fe551e;
}
我的问题是:与父级不一致
查看链接 = http://charity.teleoutsourcing.com/Charities/index.php
【问题讨论】: