头闻号

北京京开玉峰建材供应站

综合性公司|室内涂料|室外涂料|防锈漆|防腐涂料

首页 > 新闻中心 > 科技常识:ie6不兼容hover ie6 a hover属性失效解决办法
科技常识:ie6不兼容hover ie6 a hover属性失效解决办法
发布时间:2024-09-30 05:35:39        浏览次数:4        返回列表

今天小编跟大家讲解下有关ie6不兼容hover ie6 a hover属性失效解决办法 ,相信小伙伴们对这个话题应该有所关注吧,小编也收集到了有关ie6不兼容hover ie6 a hover属性失效解决办法 的相关资料,希望小伙伴们看了有所帮助。

复制代码代码如下: <style type="text/css"> .wdqy { background-image: url(../../../images/Common/common.png); background-repeat: no-repeat; background-position: -35px -694px; padding-right: 15px; } .wdqy:hover { background-image: url(../../../images/Common/common.png); background-repeat: no-repeat; background-position: -35px -753px; padding-right: 15px; } </style> 当你用a标签 的时候 要写a:hover属性 那么 请加上 href属性 才会生效 复制代码代码如下: <a href=""class="wdqy">aaa</a>

来源:爱蒂网