CSS高手请进,关于链接文字颜色的处理
我想实现链接文字一般情况下显示为黑色,当鼠标在上方时,文字变成红色,并且有下划线。不管此链接是否已经访问过都是一样。下面代码为什么不行?
<style>
a:link{
color:#000000;text-decoration:none;
}
a:hover{
color:#ff0000;text-decoration:underline;
}
a:visited{
color:#000000;text-decoration:none;
}
a:active{
color:#666666;text-decoration:none;
}
</style>
<a href=test.htm>Test.htm</a>
刚才已经发了一帖,在
http://expert.csdn.net/Expert/topic/1787/1787358.xml?temp=.614773
但并没有显示在javascript版面上,斑竹为什么呀?