【问题标题】:How to send an email which exactly looks in the outlook express how i see in my web browser?如何发送与 Outlook 完全相同的电子邮件,表达我在 Web 浏览器中的查看方式?
【发布时间】:2011-11-23 11:25:54
【问题描述】:

在我的网络浏览器中显示正确。但是当我将它发送到 Gmail 或 Outlook 时,它既不能正确显示,也不能在中心对齐布局中显示。 (我收到的许多其他时事通讯都正好放在中心位置)。

要发送的 HTML:

<form target="theFrame" >
<DIV class=contents style="width:527px;">
   <DIV class=contents_body style="padding-left:150px;">
          Why you are not padding, in Outlook? And showing full texts in 100% width?
   </DIV>
</DIV>
</form>
<iframe name='theFrame'></iframe>

【问题讨论】:

    标签: .net html email outlook newsletter


    【解决方案1】:

    这是因为电子邮件客户端基于旧版本的 html,不会像浏览器一样呈现。

    如果您查看过在线服务,例如有关 acid 或 litmus 的电子邮件,您可以在发送之前测试您的电子邮件在各种电子邮件客户端中的外观。

    保持您的电子邮件模板基本并喜欢旧样式的表格布局。

    间隔图像怎么样?

    <DIV class=contents style="width:527px;">
       <img src="yoururl/img/spacer.gif" width="150px" align="left" />
       <DIV class=contents_body style="padding-left:150px;">
              Why you are not padding, in Outlook? And showing full texts in 100% width?
       </DIV>
    </DIV>
    

    【讨论】:

    • 请看我上面的更新。在 Gmail 中,它正好显示在中心。但仍然没有前景。
    猜你喜欢
    • 2012-11-29
    • 1970-01-01
    • 2013-11-11
    • 2012-11-24
    • 2011-10-05
    • 1970-01-01
    • 2013-11-07
    • 2021-07-12
    • 2018-03-11
    相关资源
    最近更新 更多