Outlook 2013 HTML签名与图像背景

时间:2015-01-03 12:41:42

标签: html outlook background-image outlook-2013

我找到了另一个帖子(Outlook 2013 background image broken)但是我无法评论,因为我是Stack Overflow的新用户。这是我的代码:

<table width="695" height="194" border="0" cellpadding="0" style="background-image:url('http://champ.website-admin.net/files/2014/12/email.jpg'); padding:24px;">
 <tbody>
<tr>
  <td><h3>Emma Woolward</h3></td>
</tr>
<tr>
  <td><p><a href="mailto:operations@champresources.com.au">operations@champresources.com.au</a></p></td>
</tr>
<tr>
  <td><p>1300 GO CHAMP</p></td>
</tr>
<tr>
  <td><p>P: 1300 462 426</p></td>
</tr>
<tr>
  <td><a href="www.champresources.com.au"><p>www.champresources.com.au</p></a></td>
</tr>
 <tr>
  <td><a href="https://www.facebook.com/champresources?fref=ts"><img src="http://champ.website-admin.net/files/2014/12/facebook.png" style="width:100px;height:33px; float: left;"></a><img src="http://champ.website-admin.net/files/2014/12/zeroharm.png" style="float:left; margin-left:5px;"></td>
</tr>

 

背景图片未显示。对类似线程的响应建议使用多部分电子邮件,并提供了一个代码示例:

--==boundary-1
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
Content-Base: http://test.endlesspeak.cz

<td background="cid:bg-deepak.jpg">
--==boundary-1
Content-type: image/jpg; name="bg-deepak.jpg"
Content-ID: <bg-deepak.jpg>
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="bg-deepak.gif"

我想知道这个示例代码最好放在哪里?

或者其他人对于背景图像进入前景时为什么会消失有其他想法吗?

1 个答案:

答案 0 :(得分:2)

请记住,Outlook使用Word来呈现HTML,而不是IE。不知道Word是否支持表格的背景图像,AFAIK它不支持标记的背景图像。

相关问题