完全可以使任何 OUTLOOK 条件起作用 - HTML 电子邮件
Can get any OUTLOOK conditionals to work at all - HTML email
我的 OUTLOOK 条件不起作用。唯一有效的是 table 宽度。但是,我无法设置任何其他样式。
下面是我的电子邮件 HTML,我正在努力让它发挥作用。我想不通?
https://gist.github.com/castledoor/05c48bca2db5a67e649f20c95d8d25a6
我只能找到一个 Outlook 条件语句。我将它包裹在样式标签中,它似乎在 Litmus for Outlook 2013、2016、Windows Mail 10.
中显示得更好
<!--[if (gte mso 9)|(IE)]>
<STYLE type=text/css>
.logo_block {
display: none !important;
}
</STYLE>
<![endif]-->
代我向文尼问好。
祝你好运。
首先,dislay:none
在 Outlook 中只有部分支持,因此不能依赖。您最好使用 <!--[if !mso]><!-- --> [hidden stuff here] <!--<![endif]-->
隐藏其中的内容
Outlook 对 div
标签的支持也很糟糕。所以我建议将它们从桌面版本中删除,并将 类 应用于 td
。那么您可能不需要第 415 行的条件 table。
我的 OUTLOOK 条件不起作用。唯一有效的是 table 宽度。但是,我无法设置任何其他样式。
下面是我的电子邮件 HTML,我正在努力让它发挥作用。我想不通?
https://gist.github.com/castledoor/05c48bca2db5a67e649f20c95d8d25a6
我只能找到一个 Outlook 条件语句。我将它包裹在样式标签中,它似乎在 Litmus for Outlook 2013、2016、Windows Mail 10.
中显示得更好<!--[if (gte mso 9)|(IE)]>
<STYLE type=text/css>
.logo_block {
display: none !important;
}
</STYLE>
<![endif]-->
代我向文尼问好。
祝你好运。
首先,dislay:none
在 Outlook 中只有部分支持,因此不能依赖。您最好使用 <!--[if !mso]><!-- --> [hidden stuff here] <!--<![endif]-->
Outlook 对 div
标签的支持也很糟糕。所以我建议将它们从桌面版本中删除,并将 类 应用于 td
。那么您可能不需要第 415 行的条件 table。