【发布时间】:2017-01-12 14:29:43
【问题描述】:
所以我正在测试一些将发送给客户/用户的电子邮件,我发现 Outlook 不能很好地呈现背景图像,它会重复它。
我已经搜索并尝试了某些事情,例如:
我尝试将 fill="f" & fill type="frame" 替换为 "t" & "tile" 但仍然得到相同的结果。
我已将宽度和高度更改为与或或图片本身相同。
试图改变 CSS background-repeat:no-repeat;以我所知道的所有方式移动它
尝试将“v:background”替换为“v:rect”
现在我在这里 :)
我发现这是一个已知问题,但我似乎找不到适合我的方法。
我非常感谢任何正确方向的帮助或信息!
这是我使用的实际 HTML:
<body style="padding:0; margin:0; display:block; background:#ffffff; -webkit-text-size-adjust:none" bgcolor="#ffffff">
<table align="center" cellpadding="0" cellspacing="0" width="100%" height="100%" border="0">
<tr>
<td background="http://i.imgur.com/uu9hFXR.png"
bgcolor="#E3E6C6"
valign="top"
style="background: url(http://i.imgur.com/uu9hFXR.png);
background-repeat:no-repeat;
background-color: #E3E6C6;
background-position: center;">
<!--[if gte mso 9]>
<v:background xmlns:v="urn:schemas-microsoft-com:vml" fill="f">
<v:fill type="frame" src="http://i.imgur.com/uu9hFXR.png" color="#E3E6C6"/>
</v:background>
<![endif]-->
</td>
</tr>
</table>
</body>
亲切的问候!
【问题讨论】:
-
msdn.microsoft.com/en-us/library/office/… 注意 Outlook 不支持背景图片