如何在电子邮件签名中去除超链接下划线

3
我创建了电子邮件签名,但超链接是可见的。如何在电子邮件签名中去除超链接下划线?
2个回答

1
你需要在HTML中关闭图像标签和周围锚标签之间的所有间隙。
此代码将显示小下划线。
<a href="https://www.example.com" style="border-width:0px; border:0px; text-decoration: none;">
                        <img width="25" height="25" style="vertical-align: middle; border: none; width: 25px; max-width: 25px !important; height: 25px; max-height: 25px !important;"
                            src="http://example.com/test.png">
                    </a>

这段代码不会。
<a href="https://www.example.com" style="border-width:0px; border:0px; text-decoration: none;"><img width="25" height="25" style="vertical-align: middle; border: none; width: 25px; max-width: 25px !important; height: 25px; max-height: 25px !important;" src="http://example.com/test.png"></a>

1
这是Gmail的行为。它会自动将签名中的任何网站地址转换为超链接。
目前在Gmail中没有可用的设置可以关闭这些超链接。但有另一种方法。
点击“撰写邮件”按钮会打开一个新的邮件撰写窗口,并填充签名。现在点击消息文本区域上方的“纯文本”选项以删除超链接。
点击this链接,可能对您有帮助。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接