<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>网页特效代码|http://www.knowsky.com/|---用CSS实现的一个字符显示效果</title>
<style>
body{ font-size:12px; line-height:22px;}
#info span{position:absolute;width:523px;height:275px;top:115px; left:10px;background-image: url(http://www.jscode.cn/Uploadfile/200682485616973.GIF);visibility: hidden;}
a:link,a:visited{cursor: default;}
a:active,a:hover{cursor:auto;}
#hi{visibility: hidden; height:1px; overflow:hidden;}
#w01 a:hover span,#w02 a:active span{background-position: 0px 0px; visibility: visible;}
#w02 a:hover span,#w03 a:active span{background-position: 0px -275px; visibility: visible;}
#w03 a:hover span,#w04 a:active span{background-position: 0px -550px;visibility: visible; }
#w04 a:hover span,#w05 a:active span{background-position: 0px -825px; visibility: visible;}
#w05 a:hover span,#w06 a:active span{background-position: 0px -1100px; visibility: visible;}
#w06 a:hover span,#w07 a:active span{background-position: 0px -1375px; visibility: visible;}
#w07 a:hover span,#w08 a:active span{background-position: 0px -1650px; visibility: visible;}
#w08 a:hover span,#w09 a:active span{background-position: 0px -1925px; visibility: visible;}
#w09 a:hover span,#w10 a:active span{background-position: 0px -2200px; visibility: visible;}
#w10 a:hover span,#w11 a:active span{background-position: 0px -2475px; visibility: visible;}
#w11 a:hover span,#w12 a:active span{background-position: 0px -2750px; visibility: visible;}
#w12 a:hover span,#w13 a:active span{background-position: 0px -3025px;visibility: visible; }
#info a{width:44px; height:100px;display:block; background:#cc0000; float:left;}
</style>
</head>
<body>
<div id="info">
<div id="w01"><a href="http://www.knowsky.com/" target="_blank"><span></span></a></div>
<div id="w02"><a href="http://www.knowsky.com/" target="_blank"><span></span></a></div>
<div id="w03"><a href="http://www.knowsky.com/" target="_blank"><span></span></a></div>
<div id="w04"><a href="http://www.knowsky.com/" target="_blank"><span></span></a></div>
<div id="w05"><a href="http://www.knowsky.com/" target="_blank"><span></span></a></div>
<div id="w06"><a href="http://www.knowsky.com/" target="_blank"><span></span></a></div>
<div id="w07"><a href="http://www.knowsky.com/" target="_blank"><span></span></a></div>
<div id="w08"><a href="http://www.knowsky.com/" target="_blank"><span></span></a></div>
<div id="w09"><a href="http://www.knowsky.com/" target="_blank"><span></span></a></div>
<div id="w10"><a href="http://www.knowsky.com/" target="_blank"><span></span></a></div>
<div id="w11"><a href="http://www.knowsky.com/" target="_blank"><span></span></a></div>
<div id="w12"><a href="http://www.knowsky.com/" target="_blank"><span></span></a></div>
</div>
<p>鼠标移到红色上边动一动</p>
<div id="hi"><img src="http://www.jscode.cn/Uploadfile/200682485616973.GIF" alt="" /></div>
</body>
</html>