gpt4 book ai didi

html - Outlook 365 的条件标记

转载 作者:太空宇宙 更新时间:2023-11-04 13:17:01 26 4
gpt4 key购买 nike

我正在构建一个 HTML 通讯。

要专门针对低于或等于 Outlook 2013 的所有 Outlook 版本,我们可以使用此代码:

<!--[if lte mso 15]>                            
code goes here
<![endif]-->

这里的15是指Outlook 2013的版本号。

Outlook 365 的条件标记是什么?

我将如何专门针对 Outlook 365 而不是任何 future 的 Outlook 版本,如果它们可能出现以及何时出现?

最佳答案

您可以使用大于或等于运算符 (gte) 而不是小于。 (LTE)

<!--[if gte mso 9]> 
<style>
/* Target Outlook 2007 and up */
</style>
<![endif]-->

这是 conditional comments 的列表以备将来引用。

关于html - Outlook 365 的条件标记,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24258815/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com