【问题标题】:HTML Email - Not rendering correctly for Old Email ClientsHTML 电子邮件 - 旧电子邮件客户端无法正确呈现
【发布时间】:2015-02-10 03:37:53
【问题描述】:

我在 HTML 模板的开头有:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org    
/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=300, initial-scale=1.0, target-densitydpi=device-dpi">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="format-detection" content="telephone=no" /> <!-- disable auto telephone linking in iOS -->
<head>....

但是,当涉及到旧的电子邮件客户端时,我的 HTML 根本不会呈现,并且是空白的......我已经在 litmus 上对此进行了测试。

我需要从上面添加或删除一些东西,以便它也可以在旧浏览器中呈现。

谢谢

【问题讨论】:

    标签: html email-client electronic-direct-mail


    【解决方案1】:

    您的元标记应位于&lt;head&gt; 内。

    您那里的其他内容看起来不错,因此它可能与您文档的其余部分有关。我建议从Sean Powell's email boilerplate 开始,并把你的一些代码带过来。

    如果不这样做,您是否忘记关闭任何元素,例如表格/行/单元格?

    它被哪些电子邮件客户端破解了?

    【讨论】:

    • Lotus Notes 6.5、Lotus Notes 7、Lotus Notes 8、Outlook 2000、Outlook 2002、Outlook 2003、Outlook.com(Firefox)、Outlook.com(Chrome)、Outlook.com(Internet Explorer) .我已按照您的要求进行了更新。
    猜你喜欢
    • 1970-01-01
    • 2015-09-25
    • 2015-10-22
    • 1970-01-01
    • 1970-01-01
    • 2018-04-18
    • 2020-01-14
    • 2022-01-24
    • 2022-12-09
    相关资源
    最近更新 更多