怎样更改CSS样式

来源:百度知道 编辑:UC知道 时间:2024/05/29 08:48:49
在样在DW中更改CSS, 把鼠标放在衔接地址上的下划线去掉,换成指定的颜色?

谢谢

<style type="text/css">
<!--
a:link {
color: #FF0000;
text-decoration: none;
}
a:visited {
color: #00FF00;
text-decoration: none;
}
-->
</style>
放到:<head>...</head>之间就可以了

<a href="a.asp" style="text-decoration:none;color:#ff0000">链接</a>
'备注说明:a.asp表示预链接页面;style中的参数值可以变更为,你所需要的,如#000000,orange等