如何显示没有下划线的超链接?
答案 0 :(得分:15)
a:link {
text-decoration: none;
color: #0000CC;
}
a:visited {
text-decoration: none;
color: #0000CC;
}
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: underline;
}
(或者至少we是这样做的。)
哦,顺便说一下上面的订单很重要。
答案 1 :(得分:4)
a:link, a:visited {
text-decoration:none;
}
答案 2 :(得分:4)
应用此样式:
text-decoration: none;