CSS设置DIV Herf底层图片和链接同时改变,兼容IE,Firefox,Opera,Safari,Chrome等_html/css_WEB-ITnose
程序员文章站
2022-06-09 07:52:33
...
/*CSS?式?置 ?聚文 Geovin Du**/.text8{ font-family: Arial, Helvetica, sans-serif; background-image: url(../images/05.jpg); height:42px; text-align:center; }.geovindu{ cursor:auto; text-decoration: none; color: #000;} a.geovindu:hover .text8{ /*background: #000;*/ color:red; background-image: url(../images/06.jpg);}.content{ margin-top:10px; padding-top:10px;}a.geovindu:visited .text8{ text-decoration:none; color:red; background-image: url(../images/06.jpg); }
/*HTML 代? ?聚文 Geovin Du**/
?聚文,CSS设置DIV Herf底层图片和链接同时改变