【发布时间】:2016-06-13 13:35:23
【问题描述】:
这是它在 Outlook 中的外观:
但它应该是这样的:
代码如下:
<table style="border-bottom: solid 1px #e5e0d8; background-color: #0f0;" class="content_module" width="600" border="0" cellpadding="15" cellspacing="0">
<tr>
<td>
<table style="background-color: #f0f;" class="content_col" width="285" border="0" cellspacing="0" cellpadding="15" align="left">
<tr>
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; background-color: #f00;">
<!-- img -->
</td>
</tr>
</table>
<table style="background-color: #00f;" class="content_col" width="285" border="0" cellspacing="0" cellpadding="15" align="right">
<tr>
<td style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; background-color: #00f;">
<!-- text -->
</td>
</tr>
</table>
</td>
</tr>
</table>
看起来 Outlook 左右添加了 3px 填充...看到有人出错了吗?如果问题是空格,我已经尝试过,但事实并非如此。
【问题讨论】:
-
这是一个试金石构建litmus.com/builder/47eace2
标签: outlook html-table html-email padding