正 文

用CSS实现的一页面内的多种HOVER的效果


www.7dspace.com  更新日期:2005-8-16 5:07:56  七度空间


  用CSS实现的一页面内的多种HOVER的效果,以下代码贴到<head>区
<head>

<style type="text/css">
<!--
.a { font-family: "宋体"; font-size: 9pt; color: #000000; text-decoration: none}
.a:hover { font-family: "宋体"; font-size: 9pt; color: #FF3333; text-decoration: underline}
.b { font-family: "宋体"; font-size: 9pt; color: #000000; text-decoration: none}
.b:hover { font-family: "宋体"; font-size: 9pt; color: #99ccff}
body { font-family: "宋体"; font-size: 9pt; color: #000000; text-decoration: none}
-->

</style>

</head>

以下代码贴到<body>区
<body>

<a href="#" >链接一</a><br>

<a href="#" >链接二</a>

</body>


上一篇:用CSS格式化Flash文本
下一篇:WEB设计中CSS样式表应用小技巧十四例
作者:  来源: ( 责任编辑:7dspace )
收藏此页】【打印】【关闭
站 内 搜 索
 

热 点 导 读
特 别 推 荐