html - 除了 Outlook,是否有针对所有内容的 html 条件语句?

标签 html email

我找到了一段代码,可以让我定位使用 Outlook 2007 或更高版本的客户。

<!--[if gte mso 9]><![endif]-->

除 outlook 或 outlook 2007 及更高版本外,是否还有其他目标?如果您给出答案,请按照我的尝试提供工作代码

<!--[if ! mso 9]> <!--[if ! mso]> <!--[if !(mso)]>

在 Gmail 和 firefox 中,以下均无效。

最佳答案

试试这个:

<!--[if !mso]>-->
  content targeted at non-outlook users goes here...
<!--<![endif]-->

关于html - 除了 Outlook,是否有针对所有内容的 html 条件语句?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5982364/

相关文章:

html - 如何追踪导致网页水平滚动的元素?

html - 如何删除伪 `after` 内容中我丑陋的箭头标记的底部

php - 如何自动填写 paypal 上的电子邮件字段?

.net - 使用 .net 从 Exchange 服务器获取收件箱邮件

shell - 通过 telnet 获取 imap body 信息

html - 如何在 Django 的 EmailField() 中添加初始默认值

javascript - 学习Ajax : Dynamic content not loading

HTML 和 CSS - 如何创建按钮和过渡页面

html - Internet Explorer 中的表格填充

c# - SMTP 服务器需要安全连接或客户端未通过身份验证。如果在 godaddy 上上传