电子邮件 - 防弹背景图像

时间:2015-06-30 23:52:55

标签: html outlook html-table html-email

我正在编写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/

1 个答案:

答案 0 :(得分:3)

和...固定。

对于其他遇到此问题的人,请将填充类型设置为&#34; frame&#34;

<v:fill type="frame" src="https://someKitten.jpg" />
相关问题