css导航菜单问题:导航栏上鼠标要移动到导航最底部才可以点击。想改成在导航图片任何地方都可以
导航栏上鼠标要移动到导航最底部才可以点击。想改成在导航图片任何地方都可以代码如下:/*服务图标导航*/.sever_nv_box{width:100%;}.sever_n...
导航栏上鼠标要移动到导航最底部才可以点击。想改成在导航图片任何地方都可以
代码如下:
/*服务图标导航*/
.sever_nv_box{
width:100%;
}
.sever_nv{ width:960px;
height:93px;
text-align:center;
margin:-60px auto 0 auto;
background:url(template/hxdhp/images/se_nv_bg.gif);
position:relative;
}
.sever_nv_tel{
width:192px;
height:40px;
float:left;
background:url(template/hxdhp/images/se_nv5.gif) no-repeat center 0;
margin-top:35px;
}
.sever_nv_tel:hover{
background:url(template/hxdhp/images/se_nv5.gif) no-repeat center -41px;
}
.sever_nv_wb{
width:113px;
float:left;
height:39px;
background:url(template/hxdhp/images/se_nv2.gif) no-repeat center 0;
margin-top:35px;
}
.sever_nv_wb:hover{
background:url(template/hxdhp/images/se_nv2.gif) no-repeat center -39px;
}
.sever_nv_qq{
width:260px;
height:76px;
float:left;
background:url(template/hxdhp/images/se_nv3.gif) no-repeat center -75px;
}
.sever_nv_qq:hover{
background:url(template/hxdhp/images/se_nv3.gif) no-repeat center 0;
}
.sever_nv_telo{
width:256px;
float:left;
height:73px;
background:url(template/hxdhp/images/se_nv4.gif) no-repeat center 0;
margin-top:8px;
}
.sever_nv_telo:hover{
background:url(template/hxdhp/images/se_nv4.gif) no-repeat center -71px;
}
.sever_nv_jion{
width:139px;
height:40px;
float:left;
background:url(template/hxdhp/images/se_nv1.gif) no-repeat center 0;
margin-top:35px;
}
.sever_nv_jion:hover{
background:url(template/hxdhp/images/se_nv1.gif) no-repeat center -41px;
}
.hxdnv li{
float: left;
width:133px;
border-bottom: #FC0 solid 1px;
margin-left:6px;
margin-right:6px;
text-align:right;
}
#he_nv_body li{
float: left;
width:133px;
margin-left:6px;
margin-right:6px;
text-align:right;
} 展开
代码如下:
/*服务图标导航*/
.sever_nv_box{
width:100%;
}
.sever_nv{ width:960px;
height:93px;
text-align:center;
margin:-60px auto 0 auto;
background:url(template/hxdhp/images/se_nv_bg.gif);
position:relative;
}
.sever_nv_tel{
width:192px;
height:40px;
float:left;
background:url(template/hxdhp/images/se_nv5.gif) no-repeat center 0;
margin-top:35px;
}
.sever_nv_tel:hover{
background:url(template/hxdhp/images/se_nv5.gif) no-repeat center -41px;
}
.sever_nv_wb{
width:113px;
float:left;
height:39px;
background:url(template/hxdhp/images/se_nv2.gif) no-repeat center 0;
margin-top:35px;
}
.sever_nv_wb:hover{
background:url(template/hxdhp/images/se_nv2.gif) no-repeat center -39px;
}
.sever_nv_qq{
width:260px;
height:76px;
float:left;
background:url(template/hxdhp/images/se_nv3.gif) no-repeat center -75px;
}
.sever_nv_qq:hover{
background:url(template/hxdhp/images/se_nv3.gif) no-repeat center 0;
}
.sever_nv_telo{
width:256px;
float:left;
height:73px;
background:url(template/hxdhp/images/se_nv4.gif) no-repeat center 0;
margin-top:8px;
}
.sever_nv_telo:hover{
background:url(template/hxdhp/images/se_nv4.gif) no-repeat center -71px;
}
.sever_nv_jion{
width:139px;
height:40px;
float:left;
background:url(template/hxdhp/images/se_nv1.gif) no-repeat center 0;
margin-top:35px;
}
.sever_nv_jion:hover{
background:url(template/hxdhp/images/se_nv1.gif) no-repeat center -41px;
}
.hxdnv li{
float: left;
width:133px;
border-bottom: #FC0 solid 1px;
margin-left:6px;
margin-right:6px;
text-align:right;
}
#he_nv_body li{
float: left;
width:133px;
margin-left:6px;
margin-right:6px;
text-align:right;
} 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询