碧海潮声大学生网

标题: 如何使用不同的超链接效果? [打印本页]

作者: 墙角野猫    时间: 2007-5-13 12:05
标题: 如何使用不同的超链接效果?
如有三个超链接特效

让链接变色代码:
<STYLE TYPE="text/css">
A { text-decoration: NONE; color: #51bfe0}
A:hover { color: #3399FF }
</STYLE>                        

增加链接的力度(字体变大)代码:
<STYLE TYPE="text/css">
A { text-decoration: NONE; color: #51bfe0}
A:hover {font-weight: bold }
</STYLE>                     

触到链接是出现虚线代码:
<STYLE TYPE="text/css">
A { text-decoration: NONE; color: #51bfe0}
A:hover {border-bottom:1px dashed #51bfe0 }
</STYLE>

如何建立三个链接分别使用三种不同的效果?
<a href="/">链接一</a>
<a href="/">链接二</a>
<a href="/">链接三</a>




欢迎光临 碧海潮声大学生网 (http://www.zjoubbs.com/) Powered by Discuz! X3.2