html - Outlook.com/Outlook 2013 上的圆形按钮使用 TD

标签 html css email outlook

我正在设计一封电子邮件,我希望在 Outlook.com 和 Outlook 2013 上有一个带圆 Angular 的按钮。我使用 td和以下 CSS:

<td style="background-color: rgb(0, 112, 210); margin: 0px auto; text-decoration: none; text-align: center; padding: 12px 16px; border: none; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px;"><a target="_blank" style="color: rgb(255, 255, 255); text-decoration: none; text-align: center; text-transform: none; font-size: 16px;">BUtton!</a></td>

(附言,它在几乎所有电子邮件客户端上都能正常工作,包括 Outlook 2016、2011、gmail 等)

最佳答案

在 Outlook 2013、2016 中没有简单的方法来获得 CSS 圆 Angular 。它目前在 Outlook 2016 中不起作用。

您可以将 Outlook 设置为使用 vml 在后台加载圆形图形。

关于html - Outlook.com/Outlook 2013 上的圆形按钮使用 TD,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47045975/

相关文章:

jquery - 如何实现天气API

html - 如何在 <p> 中插入链接并使其与跨度和文本的其他部分保持内联

jquery - 如何在鼠标悬停时显示列表

javascript - 无法读取未定义的属性 'username' - 在 Node.js 中通过电子邮件发送表单数据

jquery - 如何限制在禁用的 HTML 输入对象上传递值以供 ColdFusion cfquery 处理?

css - 如何更改现有 OpenERP7 表单 View 的字段宽度(使用百分比,无像素)?

css - 平滑 CSS3 动画

html - 移除 Foundation 6 下拉箭头

php - Laravel 5.2 邮件发送中的 Swift_TransportException

PHP mail() 函数不会发送到 gmail 但会发送到我的非 gmail 帐户