简体   繁体   English

Outlook 2007图像对齐问题

[英]Outlook 2007 image alignment issue

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. 现在这个image.jpg有210像素的灰色背景和390像素的白色背景,以便与上面的表格单元格对齐。

However, it shows up as non aligned in outlook 2007. It shows up fine in others. 然而,它在outlook 2007中显示为不一致。它在其他方面表现得很好。

Any suggestions? 有什么建议么?

You're lucky it shows at all. 你很幸运它显示出来。 The background property is loosely if at all supported by most email clients. 如果大多数电子邮件客户端都支持,则background属性是松散的。 I would suggest against using it or using just an <img> tag instead. 我建议不要使用它或仅使用<img>标签。

Here's more info on what outlook 2007 supports: 以下是有关outlook 2007支持的更多信息:

http://www.email-standards.org/clients/microsoft-outlook-2007/ http://www.email-standards.org/clients/microsoft-outlook-2007/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM