在Outlook2007中显示背景图片
过去几年中,邮件的设计人员和营销人员一直认为不能在邮件背景中添加图片,只是因为Outlook2007始终无法显示背景图片,然而最近有人发现原来0utlook2007也能显示背景:
首先在html内加入mlns:v=“urn:schemas-microsoft-com:vml”
然后在style代码,添加以下内容:
v\:* {
behavior: url(#default#VML);
display:inline-block;
接着在表格内添加:
<td width=”600″ height=”402″ valign=”top” bgcolor=”#000000″ background=”images/yourimage.gif”>
<!—[if gte mso 9]>
<v:image id=”image” style=’position:absolute; height:402px; width:600px;top:0;left:0;border:0;z-index:1;’ src=”images/yourimage.gif”/>
<v:shape id=”text” style=’position:absolute; height:402px; width:600px;top:0;left:0;border:0;z-index:2;’>
<![endif]—>
<p align=”center” style=”font-family:Arial, Helvetica, sans-serif; color:#ffffff; font-size:18px;”>This is the text in front of the background image.</p>
<!—[if gte mso 9]>
</v:shape>
<![endif]—>
这样就能让outlook 2007显示出背景图片啦。下面是实例:

原帖 http://www.campaignmonitor.com/forums/viewtopic.php?id=3862









