如题,谢谢大家
把这个加到style里
a
{
font-size: 12px;
color: Black;
FONT-FAMILY: 宋体;
font-weight: normal;
text-decoration: none;
}
a:link
{
font-size: 12px;
color: Black;
FONT-FAMILY: 宋体;
font-weight: normal;
text-decoration: none;
}
a:visited
{
font-size: 12px;
color: Navy;
FONT-FAMILY: 宋体;
font-weight: normal;
text-decoration: none;
}
a:hover
{
font-size: 12px;
color: Red;
FONT-FAMILY: 宋体;
font-weight: normal;
text-decoration: underline;
}
a:active
{
font-size: 12px;
color: Red;
FONT-FAMILY: 宋体;
font-weight: normal;
text-decoration: none;
}
可以用css吧,因爲Hyperlink顯示在頁面上還是link呀?
帮你解释一下
用一个样式表就能做到。
text-decoration 属性表示是否要显示下划线
text-decoration: none; ///不显示下划线
a
{
text-decoration: none;
}
a:active
{
text-decoration: none;
}
a:visited
{
text-decoration: none;
}
a:link
{
text-decoration: none;
}
用css。
用css多简单:)
<style>
a {text-decoration:none;}
</style>
一定要用 css,
css