鼠标经过时,展示提示内容

<!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=utf8" />
 
<title>鼠标滑过弹出层效果--七棵芹菜</title>
 
<style type="text/css">
 
*{margin:0; padding:0;}
body{font-size:12px; font-family:"Times New Roman", Times, serif; background-color:#333;}
 #main{margin:100px auto; width:300px;}
 #main ul{list-style:none;}
 #main ul li{line-height:20px; border-bottom:1px dashed #FC0;}
 #main ul li a{color:#E7E7E7; text-decoration:none; position:relative; display:block;}
 #main ul li a div{display:none;}
 #main ul li a:hover{ visibility:visible; color:#FFF;}
 #main ul li a:hover div{position:absolute; left:280px; top:-40px; background-color:#FFF; display:block; width:300px; height:100px; color:#000; overflow:hidden;}
 #main ul li a:hover div dt{float:left; width:8px; background:url(234.gif) center no-repeat;height:100px; display:block; background-color:#333;}
 #main ul li a:hover div dd{float:right; width:270px; height:auto; line-height:18px; padding:6px 10px;}
</style>
</head>
<body>
<p></p>
<p></p>
<div id="main">
    <ul>
        <li><a href="javascript:void(0);">Customizing Form Objects and Validating Forms
            <div>
                <dt></dt>
                <dd>Rollovers are very easy using Dreamweaver. All you need to do is export two images from Fireworks (the image itself and the rollover image). Next, in Dreamweaver, click on Insert>Rollover Image. Give a name to the image, choose the images from the folder icon and finally give the link to the image. That's it! You've now got a great looking effect for your site.
                </dd>
            </div> </a>
        </li>
         
         
         
         
         
        <li><a href="javascript:void(0);">Customizing Form Objects and Validating Forms
            <div>
                <dt></dt>
                <dd>Rollovers are very easy using Dreamweaver. All you need to do is export two images from Fireworks (the image itself and the rollover image). Next, in Dreamweaver, click on Insert>Rollover Image. Give a name to the image, choose the images from the folder icon and finally give the link to the image. That's it! You've now got a great looking effect for your site.
                </dd>
            </div> </a>
        </li>
         
         
         
         
         
        <li><a href="javascript:void(0);">Customizing Form Objects and Validating Forms
            <div>
                <dt></dt>
                <dd>Rollovers are very easy using Dreamweaver. All you need to do is export two images from Fireworks (the image itself and the rollover image). Next, in Dreamweaver, click on Insert>Rollover Image. Give a name to the image, choose the images from the folder icon and finally give the link to the image. That's it! You've now got a great looking effect for your site.
                </dd>
            </div> </a>
        </li>
         
         
         
         
         
        <li><a href="javascript:void(0);">Customizing Form Objects and Validating Forms
            <div>
                <dt></dt>
                <dd>Rollovers are very easy using Dreamweaver. All you need to do is export two images from Fireworks (the image itself and the rollover image). Next, in Dreamweaver, click on Insert>Rollover Image. Give a name to the image, choose the images from the folder icon and finally give the link to the image. That's it! You've now got a great looking effect for your site.
                </dd>
            </div> </a>
        </li>
    </ul>
 
</div>
 
</body>
 
</html>

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值