如何去除超级联接文字的下划线?(1小时后结帐)

1<style>   
2a:visted{text-decoration:none}   
3a:link{text-decoration:none}   
4a:hover{text-decoration:none}   
5a:active{text-decoration:none}   
6</style>

---------------------------------------------------------------

1<style>   
2a{text-decoration:none}   
3</style>
1<a href="#">aaaa</a>

---------------------------------------------------------------

1<style>   
2a:visted{text-decoration:#}   
3a:link{text-decoration:#}   
4a:hover{text-decoration:#}   
5a:active{text-decoration:#}   
6</style>

#=anyone of (none(无属性),underline(下划线),overline(上划线),line-through(删除线),blink(闪烁))
---------------------------------------------------------------

1<style>   
2.xx{text-decoration:none}   
3</style>
1<a class="xx" href="#">aaaa</a>

---------------------------------------------------------------

来晚了
---------------------------------------------------------------

对啦,上面的大哥们说得太明白啦,

我补充一下,

把上面同声们的代码贴入

1<head></head>

之间,就OK啦.

Published At
Categories with Web编程
comments powered by Disqus