日期:2014-05-17  浏览次数:20519 次

请教一简单问题???
<a   href= "http://www.kill.com/help/help_detail.asp?bigclassid=20061123143126&id=212 "   target= "_blank "   style= "font-size:12px ";   color= "#FF0000> 包印通会员分类及会员的服务 </a>
现在链接文字一直是红的
我现在想实现当光标放到链接上时,就显示成绿色,且带下划线,移开就变成原来的红色,无下划线,请问style如何定义谢谢?

------解决方案--------------------
a {
... ...
}
a:hover {
... ...
}
------解决方案--------------------
a {color:#f00;text-decoration:none;}
a:hover {color:#050;text-decoration:underline;}
------解决方案--------------------
<STYLE>
.a-red {color: #ff0000;
text-decoration: None;
}
.a-red:hover {color: green;
text-decoration: None;
}
</STYLE>

<a href= "http://www.kill.com/help/help_detail.asp?bigclassid=20061123143126&id=212 " target= "_blank " class= "a-red ">