How to remove the underline for anchors(links)?
无论如何(在CSS中)避免在页面中引入文本和链接的下划线..?
Use CSS. this removes underlines from a
and u
elements:
a, u {
text-decoration: none;
}
Sometimes you need to override other styles for elements, in which case you can use the !important
modifier on your rule:
a {
text-decoration: none !important;
}
The css is
text-decoration: none;
and
text-decoration: underline;
这将删除您的颜色以及锚标记存在的下划线
a {
text-decoration: none ;
}
a:hover
{
color:white;
text-decoration:none;
cursor:pointer;
}
链接地址: http://www.djcxy.com/p/74608.html
上一篇: 从页面上的链接中删除所有下划线?
下一篇: 如何删除锚点(链接)的下划线?