Outlook 2007 图像对齐问题
我有一个表格定义为
<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 中显示为不一致。在其他情况下显示良好。
有什么建议吗?
I have a table defined as
<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>
Now this image.jpg has 210 px as grey background and 390px as white background in order to align with the above table cells.
However, it shows up as non aligned in outlook 2007. It shows up fine in others.
Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你很幸运,它完全显示出来了。大多数电子邮件客户端都不太支持
background
属性。我建议不要使用它或仅使用标签。
以下是有关 Outlook 2007 支持的详细信息:
http://www.email-standards .org/clients/microsoft-outlook-2007/
You're lucky it shows at all. The
background
property is loosely if at all supported by most email clients. I would suggest against using it or using just an<img>
tag instead.Here's more info on what outlook 2007 supports:
http://www.email-standards.org/clients/microsoft-outlook-2007/