<title>下划线样式</title>
<style type="text/css">
<!--
body {
line-height: 24px;
}
a:link,a:visited {
color: #333;
text-decoration: none;
}
a:hover {
color: #990;
border-bottom: 1px dashed #990;
}
.xwgcbt {font-size: 16px;font-weight:bold;}
a.xwgcbt:link,a.xwgcbt:visited {
color: #92c;
border-bottom: 1px dashed #963;
}
a.xwgcbt:hover {
border-bottom: 2px solid #f50;
}
-->
</style>
<a href="#">我在一个CSS样式表中</a><br />
<a class="xwgcbt" href="#">(引用外部文件)设定了凡是引用这个</a><br />
<a href="#">CSS的都没有下划线,但是我又这个当前文档中</a><br />
<a href="#">又建了一个CSS样式,用类的</a>
<style type="text/css">
<!--
body {
line-height: 24px;
}
a:link,a:visited {
color: #333;
text-decoration: none;
}
a:hover {
color: #990;
border-bottom: 1px dashed #990;
}
.xwgcbt {font-size: 16px;font-weight:bold;}
a.xwgcbt:link,a.xwgcbt:visited {
color: #92c;
border-bottom: 1px dashed #963;
}
a.xwgcbt:hover {
border-bottom: 2px solid #f50;
}
-->
</style>
<a href="#">我在一个CSS样式表中</a><br />
<a class="xwgcbt" href="#">(引用外部文件)设定了凡是引用这个</a><br />
<a href="#">CSS的都没有下划线,但是我又这个当前文档中</a><br />
<a href="#">又建了一个CSS样式,用类的</a>