【问题标题】:outlook 2007 or 2010 doesn't support the background propertyOutlook 2007 或 2010 不支持背景属性
【发布时间】:2013-01-22 02:36:31
【问题描述】:

我正在创建一个通过电子邮件发送的时事通讯,在这个时事通讯中,我尝试使用 <fieldset></fieldset><legend></legend> 标记,当我在浏览器上使用它的背景颜色时,但当我在 Outlook 2007 上看到时和 2010 它在下面不起作用是我的代码。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
    <fieldset style="border-left: 1px solid #99CCFF; border-right: 1px solid #99CCFF;
        border-bottom: 1px solid #99CCFF; border-top: 1px solid #99CCFF; padding-left: 10px;
        padding-right: 10px; background-color:#CD853F; height:300px; width:300px;">
        <legend style="font-weight: bold; text-transform: uppercase;">Warranty Items</legend>
        <span style="padding-bottom: 300px;">** Content here ***</span>
    </fieldset>
</body>
</html>

【问题讨论】:

  • 究竟是什么不起作用?标签本身,还是背景颜色?

标签: html outlook background-color newsletter fieldset


【解决方案1】:

从未使用过&lt;fieldset&gt;&lt;legend&gt; 标签,但您需要使用&lt;body&gt; 标签或MS VML 才能让Outlook 显示背景图像。这可能对您有用:emailbg.net

【讨论】:

    猜你喜欢
    • 2015-03-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-01-15
    • 2012-01-23
    相关资源
    最近更新 更多