引用地址:
http://topic.csdn.net/u/20070823/07/49726a02-756f-4e6b-b729-15fe4d090ad0.html
演示地址:http://bbs.blueidea.com/thread-2767480-1-1.html#b
简单修改后的:
<html>
<title>51css</title>
<style type="text/css">
a,label {
display:block;
width:25px;
height:25px;
overflow:hidden;
}
a {background:url("20070519_82a5f3ae0299b6163a2cLk3uyVuFSv9J.gif") no-repeat}
a:hover {background:url("20070519_be7c34d5508e4167e06crax6MCxxJrE7.gif") no-repeat}
a#b {background:url("20070519_15613fd58c27b7022bb2fCqNnqRCmtIn.gif") no-repeat}
</style>
</head>
<body>
方法1:<br/>
<label> <a href="#b" id="a" hideFocus></a>
<a href="#a" id="b" hideFocus></a>
</label>
<!--
<label for= "chk"> <input type="checkbox" id= "chk"> 是否显示照片 </label>
-->
</body>
</html>