优化Outlook Web Access:图像宽度100%

时间:2013-02-08 17:03:03

标签: outlook outlook-web-app

我正在格式化电子邮件模板,其图片的范围扩展到父表格宽度的100%。除了Outlook Web Access之外,这在我尝试过的所有电子邮件提供商中看起来都很棒。它无法识别表,表行或图像本身定义的高度属性。它几乎无限地拉伸图像高度。有关如何强制Outlook Web访问正确显示图像的任何想法?以下是我正在使用的内容:

<html>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" border="0" text-decoration="none" style="min-width: 100%">
<table width="100%" border="0" bordercolor="#FFFFFF" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="padding:15px  link="#fff" vlink="#fff" alink="#fff" >
  <tr valign="bottom" cellpadding="0" cellspacing="0">
  <tr>
    <td height="4" colspan="4" valign="top"><table width="100%" border="0px" cellpadding="0" cellspacing="0"> 
      </table>
    </td>
  </tr>
      </tr>
  <tr>
    <td width="207" rowspan="2" valign="top" cellpadding="0" cellspacing="0"><img src="image/header-left.png" width="259" height="69" alt="logo"></td>
    <td width="157" height="29" colspan="2" align="right" valign="top" cellpadding="0" cellspacing="0"><img src="image/header-right.png" width="156" height="69" alt="right image"></td></tr>
</table>
<table width="100%" height="80" rowspan="2" valign="top" cellpadding="0" cellspacing="0">
    <tr>
    <td height="80" max-height="80" colspan="2" rowspan="0" align="right" valign="top" cellpadding="0" cellspacing="0" style="max-height:80px;"><img src="image/header-center.png" alt="bottom middle image" width="100%" height="80" style="max-height="80"></td>
</tr>
</table>
</body>
</html>

0 个答案:

没有答案