html - Gmail签名去掉文字修饰: none from links

标签 html css gmail

有没有办法设置链接 text-decoration: none 因为有下划线?我在 stackoverflow 上寻找,但没有任何效果。首先没有下划线,但是当我发送电子邮件时,下划线是可见的。

<a href="www.google.com">Link</a>

<a href="www.google.com" style="text-decoration: none;">Link</a>

<a href="www.google.com" style="text-decoration: none !important;">Link</a>

<a href="www.google.com" style="text-decoration: none !important; text-decoration: none">Link</a>

<a href="www.google.com" style="text-decoration-color: transparent">Link</a>

<a href="www.google.com" style="text-decoration: none;">
    <span style="text-decoration: none">Link</span>
</a>

最佳答案

尝试添加 !important :

HTML

<a src = "www.google.com" id = "link"/>

CSS

#link {
    text-decoration : none !important ;
}

关于html - Gmail签名去掉文字修饰: none from links,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45561302/

相关文章:

html - 如何显示不同的号码图像覆盖图像?

html - float : left blocks not going as expected

php - PEAR 邮件连接拒绝 smtp.gmail.com

css - Wordpress - 根据用户 ID 而非用户角色编辑仪表板

sockets - Google并发连接

android - 我在哪里可以找到适用于 android 的 gmail、facebook 和 twitter 应用程序的源代码?他们甚至是开源的吗?

HTML 标签 float 通过左边的复选框

jquery - 设置 div 的宽度等于另一个 div

html - 复制背景样式 :contain on img?

css - 为什么 Compass CSS Blueprint 中有右边距?