我有一个表定义为
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="600">
<table width="600" border="0" cellspacing="0" cellpadding="25">
<tr>
<td width="210">Content 1 with grey background</td>
<td width="390">COntent 2 with white background</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="600" colspan="2"><img src="image.jpg" width="600"></td>
</tr>
</table>
现在这个 image.jpg 有 210 像素的灰色背景和 390 像素的白色背景,以便与上面的表格单元格对齐。
但是,它在 outlook 2007 中显示为不一致。它在其他人中显示正常。
有什么建议吗?
最佳答案
你很幸运,它显示出来了。 background
如果大多数电子邮件客户端完全支持,则属性是松散的。我建议不要使用它或只使用 <img>
而是标记。
以下是有关 outlook 2007 支持的更多信息:
http://www.email-standards.org/clients/microsoft-outlook-2007/
关于html - Outlook 2007 图像对齐问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7615578/