【发布时间】:2013-08-20 08:45:39
【问题描述】:
我正在创建一个 html 电子邮件,我需要在表格之间添加一些垂直间距。为了解决 Outlook 2007、2010 和 2013 不支持 margin-top 和 margin-bottom 的问题,我决定使用完全支持的边框样式在表格之间添加间距。
我在表格底部添加了一个边框,并通过premailer 运行它以获得以下内联样式:
<table align="center" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0; width: 600px; border-bottom-width: 20px; border-bottom-color: #f3f2ef; background-color: white; border-style: none none solid;" bgcolor="white">
这可行,但是 Outlook 2007、2010 和 2013 的边框宽度远小于其他电子邮件客户端的边框宽度。我把结果放到photoshop里,测量了8px,应该是20px。
谁能告诉我造成这种差异的原因是什么?
【问题讨论】:
标签: html outlook html-email newsletter