我正在编码HTML电子邮件,并试图得到一个背景横幅图像,以在Outlook2010,11,13,16呈现多少正确。当前使用此-http://backgrounds.cm/。我的问题是《Outlook 2010》和《Outlook 2013》似乎在背景图像上放大了。
我的代码:
<td background="https://someKitten.jpg" width="600" height="185" valign="top">
<!--[if gte mso 9]>
<v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="width:600px;height:185px;">
<v:fill type="tile" src="https://someKitten.jpg" />
<v:textbox inset="0,0,0,0">
<![endif]-->
<div>
</div>
<!--[if gte mso 9]>
</v:textbox>
</v:rect>
<![endif]-->
</td>
这似乎是一个已知的问题,但我没有遇到任何修复。https://www.campaignmonitor.com/forums/topic/7953/bulletproof-background-images-exponging-in-outlook/
而且...修好了。
对于其他正在处理此问题的人,请将填充类型设置为“框架”
<v:fill type="frame" src="https://someKitten.jpg" />