不带下划线的链接html(文本修饰:无作用)

问题描述 投票:0回答:1

编写html签名,“文本装饰:无;”(应用于一个链接)仅在我使用浏览器打开html文件的情况下有效。如果我尝试发送带有签名的电子邮件,则下划线会返回。

这是我的代码:

<a href="Link to the site"style="text-decoration: none; color:#C45911">https://Link </a>
html hyperlink signature underline text-decorations
1个回答
0
投票

我想text-decoration: none属性工作正常。有两个可能的问题:1:其他样式表正在更改a:link的属性2:如果您使用的是诸如react之类的框架,则首先编译angular的css,然后再应用其他css文件。您可以使用a:link检查哪个CSS文件正在更改Chrome上ctrl+alt+c标签的属性,然后单击链接顶部

© www.soinside.com 2019 - 2024. All rights reserved.