gpt4 book ai didi

html - 链接在 gmail 中显示为蓝色

转载 作者:太空宇宙 更新时间:2023-11-04 08:29:18 27 4
gpt4 key购买 nike

当我将以下代码添加到 MailChimp 编辑器时,它会显示正确的版本,但在发送测试电子邮件后,所有链接都会变成蓝色。

    <span><a href="mailto:info@mysite.com" target="_top" style="text-decoration:none;">info@mysite.com</a></span>
<span style="margin-left: 15px; margin-right: 15px">|</span>
<span><a href="*|UNSUB|*" style="text-decoration:none;">Unsubscribe</a></span>
</span>

有趣的是,gmail 显示链接为蓝色,但 google 收件箱显示正确版本。

有什么办法可以解决这个问题吗?

最佳答案

制作 anchor 标签css如下

<style>
a {
color: #000000!important; // Black
}
</style>

将 anchor 标记颜色更改为您想要的任何颜色。

关于html - 链接在 gmail 中显示为蓝色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44902041/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com