请问下超链接的问题

来源:百度知道 编辑:UC知道 时间:2024/09/20 23:27:53
a:link
{
color: #CC66CC;
text-decoration: none;
}
a:visited
{
color: #FF3366;
text-decoration: none;
}
a:hover
{
color: #9933CC;
text-decoration: underline;
cursor:hand;
}
a:active
{
color: #CCFF66;
text-decoration: none;
}

请问下如果想让超链接在鼠标悬停的时候 不出现下划线该设置那里呢 谢谢

a:hover
{
color: #9933CC;
text-decoration: none;
cursor:hand;
}

点网页属性-链接-下划线属性-始终无下划线

代码就是<style type="text/css">
<!--
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
-->
</style>