Outlook 2016/2019不显示边框底部

问题描述 投票:0回答:1

我有一个电子邮件模板,其中所有工作都与一个元素分开,这在Outlook中无法正常显示。这是代码:

<a href="https://website.com/link" style="color: #fff; display: inline-block; font-weight: bold; text-decoration: none; border-bottom: solid 2px #e30517; padding-bottom: 3px; padding-left: 3px; padding-right: 3px;">View Event</a>

[其他浏览器向我显示此:

Correctly rendered border-bottom

Outlook 2016和2019外观如下(请注意链接上缺少的底部边框):

Missing border-bottom

是否有任何提示/技巧使2px底边框显示在那些电子邮件客户端上?

html css outlook html-email
1个回答
0
投票

根据this site,Outlook中对边框的支持似乎有问题。解决方法是使用表和表属性“ border”。我发现this article,也许会帮助您实现目标。

© www.soinside.com 2019 - 2024. All rights reserved.