随笔 - 37  文章 - 29  trackbacks - 0


常用链接

留言簿(3)

随笔分类

随笔档案

最新评论

阅读排行榜

评论排行榜

先看一段例子:
<style type="text/css">
<!--
.list{position:relative;}
.list span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px; width:500px;
}
.list span{
position: absolute;
padding: 3px;
border: 1px solid gray;
visibility: hidden;
background-color:#FFFFFF;
}
.list:hover{
background-color:transparent;
}
.list:hover span{
visibility: visible;
top:0; left:60px;
}
-->
</style>
</head>

<body>
<p>&nbsp;</p>
<div>
    <a class="list" href="/Get/wangyetuxiang/XinShang/2006-1-8/200124420.htm">
        <img src="/Files/BeyondPic/2006-1/8/061819573345943.jpg" width="156" height="122" border="0" />
        <span>
            <img src="/Files/BeyondPic/2006-1/8/061819573345943.jpg" alt="big" />
        </span>
    </a>
</div>
</body>
</html>

posted on 2007-12-13 10:58 EvanLiu 阅读(378) 评论(0)  编辑  收藏 所属分类: CSS

只有注册用户登录后才能发表评论。


网站导航: