【问题标题】:Links displays in blue in gmail链接在 gmail 中显示为蓝色
【发布时间】:2017-12-07 16:40:17
【问题描述】:

当我将以下代码添加到 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 收件箱显示正确的版本。

任何想法如何解决这个问题?

【问题讨论】:

  • 尝试为锚标签指定颜色
  • @HemaNandagopal 谢谢!它有效!
  • 欢迎 :) 别忘了点赞 :D

标签: html css gmail mailchimp


【解决方案1】:

如下制作锚标签css

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

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-11-15
    • 2013-10-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-04-20
    相关资源
    最近更新 更多