我正在编写 HTML 电子邮件,并尝试获取背景横幅图像,以便在 Outlook 2010、11、13、16 中正确呈现。当前使用此 - http://backgrounds.cm/ 。 我的问题是 Outlook 2010 和 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-enlarging-in-outlook/
最佳答案
并且...已修复。
对于遇到此问题的其他人,请将填充类型设置为“框架”
<v:fill type="frame" src="https://someKitten.jpg" />
关于html - 电子邮件-防弹背景图片,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31150435/