【发布时间】:2014-02-01 23:52:51
【问题描述】:
今天我正在使用 outlook.com 测试电子邮件和电子邮件签名,当我从 Outlook 2007 发送时,我发现两者都在表格单元格中的内容周围添加了通常不必要的段落和 msoNormal 类。
这给愚蠢的 13.5pt 行高和其他段落 14pt 底部边距。
我确实解决了行高问题,但我仍然在 outlook.com 上收到它,底部边距 (14pt) 内部有跨度或只有文本 .. 有或没有样式,而在所有其他邮件提供商/客户上都很好。
用于测试的 HTML
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="80" style="height:13px;">data</td>
<td style="height:13px;">data</td>
</tr>
<tr>
<td width="80" style="height:13px;">data</td>
<td style="height:13px;">data</td>
</tr>
<tr>
<td width="80" style="height:13px;">data</td>
<td style="height:13px;">data</td>
</tr>
</table>
截图
在有和没有样式的问题的几个屏幕截图之后:
没有任何样式
它应该是这样的,以及它在 Gmail 上的显示方式,同时它也是从 Outlook 2007 发送的
【问题讨论】:
-
使用链接 Ink:zurb.com/ink,您可以避免因使 HTML 电子邮件看起来不错(相信我,我知道;)而引起的所有头痛
-
我应该告诉我所有的客户在他们的日常工作中使用它吗?他们应该留下 Outlook 和签名问题吗?这不禁感谢。
标签: css html-email outlook-2007 newsletter hotmail