【问题标题】:Outlook 2013 HTML Signature with Image Background带有图像背景的 Outlook 2013 HTML 签名
【发布时间】:2015-01-04 02:05:47
【问题描述】:

我找到了另一个线程 (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"

我想知道这个示例代码最好放在头脑中的什么地方?

或者其他人对为什么背景图像在进入前景时消失有任何其他想法?

【问题讨论】:

    标签: html outlook background-image outlook-2013


    【解决方案1】:

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

    【讨论】:

    • 感谢昨晚经过更多研究后,我意识到使用背景图像比它的价值更痛苦,并将该单元格的样式更改为块颜色。这解决了我的问题。