css IE浏览器里给A标签设置摸上去变换背景色为什么点击以后背景消失了 10
<divid="fast"><aclass="lj"href="#"><divclass="f-1"><divclass="f-2"><imgsrc="images/gj...
<div id="fast"> <a class="lj" href="#"> <div class="f-1"> <div class="f-2"> <img src="images/gjc_09.png">教务系统 </div> <div class="nav"></div> </div> </a><div/>下面是CSS样式#fast{ width: 100%; height: 76px; font-size: 16px; color: black; float: left; border-bottom: 1px solid #5ea15c;}.lj{ color: black;}#fast .lj:link{ width: 216px; height: 76px; float: left; padding-right: 1px; display: block;}#fast .lj:hover{ background-color: #5ea15c;}#fast .f-1{ width: 216px; float: left; padding-right: 1px; background-color: #ffffff;}.f-1 .f-2{ float: left; width: 176px; line-height: 66px; height: 66px; text-align: left; margin-left: 40px; border-right: 1px solid #c6c6c6;}.f-1 #f-2-1{ border: 0;}.f-1 .f-2 img{ float: left; padding-top: 16px; padding-right: 5px; border: 0;}.f-1 .nav{ background-color: #ffffff; height: 7px; float: left;}效果如下图
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询