【问题标题】:Link style not appearing on Lotus Notes 8.5 (Email client)Lotus Notes 8.5(电子邮件客户端)上未出现链接样式
【发布时间】:2011-10-20 09:27:18
【问题描述】:

我正在使用Litmus 制作 HTML 电子邮件并进行测试,但是 Lotus Notes 8.5 似乎没有显示任何链接样式。我正在使用相当老派的方法来确保它在较旧的邮件客户端中有效,但似乎没有任何效果。这些链接在其他所有客户端中都得到了样式化,包括 Lotus Notes 7 和 8。

代码如下:

<font face="Arial" size="2" color="#00b4da" style="font-size: 16px; line-height: 22px; color: #00b4da; text-decoration: none;">
    <a href="http://www.link.com/" style="font-size: 16px; line-height: 22px; color: #00b4da; text-decoration: none;">
        www.link.com  
    </a>
</font>

这可能只是应用程序的错误,但也可能是我。我不太确定我的其他选择是什么。

【问题讨论】:

  • 在黑暗中拍摄,你有没有试过在&lt;body&gt; 的开头加上一个&lt;style&gt; 标签?类似&lt;style&gt; a { font-size: 16px; line-height: 22px; color: #00b4da; text-decoration: none; } &lt;/style&gt;
  • 不,我会试试这个,但要到星期一才能回复你。感谢您的建议!
  • @Theorise - 你解决了吗?

标签: html css email html-email


【解决方案1】:

&lt;font&gt; 标签放在&lt;a&gt; 标签内。

<a href="http://www.link.com/" style="font-size: 16px; line-height: 22px; color: #00b4da; text-decoration: none;">
    <font face="Arial" size="2" color="#00b4da" style="font-size: 16px; line-height: 22px; color: #00b4da; text-decoration: none;">
        www.link.com  
    </font>
</a>

由于&lt;font&gt; 标记是内联元素,您可以嵌套它们或将它们包裹在多个文本块周围而不会影响布局。

【讨论】:

【解决方案2】:

在内联样式中,尝试添加“color: #00b4da; color: #00b4da !important;”

我似乎记得在 hotmail 中遇到过类似的事情并且需要这样做,但那是不久前的事了。希望对您有所帮助。

【讨论】:

    猜你喜欢
    • 2013-02-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-05-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多