a标签隐藏下划线

css yekong 830℃
a{
    text-decoration:none;
}
还有更加详细的设置。
 
a:link{
text-decoration:none;   
/* 指正常的未被访问过的链接*/
}
a:visited{
text-decoration:none;
 /*指已经访问过的链接*/
}
a:hover{
text-decoration:none;
/*指鼠标在链接*/
}
a:active{
text-decoration:none;
/* 指正在点的链接*/ 
喜欢 (0)