我想使用HyperLink控件,但是我不希望显示它的下划线,请问该如何操作!谢谢

时间:2021-09-30 18:09:06
我想使用HyperLink控件,但是我不希望显示它的下划线,请问该如何操作!谢谢

7 个解决方案

#1


用CSS可以去掉它

#2


a:link
{
color: #003399;
text-decoration: none;
}
a:visited {  color: #003399;text-decoration: none;}
a:hover {  color: #cc66ff;text-decoration: none;}
a:active {  color: #cc66ff;text-decoration: none;}

#3


楼上正解

#4


同意楼上

#5


控件的 cssClass

#6


a{text-decoration:none}
全部的链接都没有下划线了

#7


up!

#1


用CSS可以去掉它

#2


a:link
{
color: #003399;
text-decoration: none;
}
a:visited {  color: #003399;text-decoration: none;}
a:hover {  color: #cc66ff;text-decoration: none;}
a:active {  color: #cc66ff;text-decoration: none;}

#3


楼上正解

#4


同意楼上

#5


控件的 cssClass

#6


a{text-decoration:none}
全部的链接都没有下划线了

#7


up!