【问题标题】:How can I get outlook to display a background image?如何让 Outlook 显示背景图像?
【发布时间】:2015-10-26 21:19:18
【问题描述】:

我正在尝试让 Outlook 显示背景图像。对于 Outlook 2003-2015 电子邮件客户端,我可以使用另一条规则吗?请参阅下面的标记。

<table class="emailwrap" style="background-color:#fff;" cellpadding="0" cellspacing="0" width="100%" align="center">
    <tr>
        <td class="mbl-header" align="center" style="width:600px; height:122px; background-image: url('images/banner2.jpg'); background-repeat:no-repeat;background-size:600px 100%; padding-left:35px; padding-right:35px;">
        <p style="font-family:Arial, sans-serif; color:#fff; text-align:left;"><strong>As Assistant U.S. Attorney Seth Wilkinson</strong> said in relation to a recent Lacey Act  case, “The message is  clear, you can’t turn a blind eye, you can’t buy products that you know are stolen, make a huge profit off it and then just say, ‘I didn’t know what I was doing</p>
        </td>
    </tr>
</table>

【问题讨论】:

    标签: html css responsive-design outlook


    【解决方案1】:

    Outlook 07/10/13 和 Outlook.com 不支持 background-image (Campaign Monitor - CSS)。相反,您可以为所有电子邮件客户端替换切片图像(不推荐)或在不支持 background-image 的情况下使用纯色背景。

    Bulletproof Background Images 可能是最可靠的来源。

    【讨论】:

    • 太棒了!正是我想要的。非常感谢!
    • 这样就解决了这个问题,但又出现了另一个问题。如果我尝试向 标记添加填充,则表格的宽度会扩展并显示背景颜色。我可以用另一种方法来为我的 p、h2 标签添加填充吗?
    猜你喜欢
    • 1970-01-01
    • 2021-02-26
    • 1970-01-01
    • 2012-08-28
    • 2016-09-23
    • 2013-04-30
    • 2013-09-24
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多