使用以下Microsoft Office条件语句,我可以针对高于或等于2016的Outlook版本:
<!--[if gte mso 16]><!-->
<style type="text/css">
table tr td { line-height: normal !important; }
</style>
<!--<![endif]-->我该如何瞄准其他所有东西呢?类似于else语句或使用感叹号的"not“语句:
<!--[if !gte mso 16]><!-->
<style type="text/css">
table tr td { line-height: normal !important; }
</style>
<!--<![endif]-->发布于 2016-10-21 05:11:27
您需要将Microsoft Office视为唯一能够理解这些注释的应用程序,并提供将被其他所有应用程序忽略的语法
<![if lt mso 16]>
<style type="text/css">
table tr td { line-height: normal !important; }
</style>
<![endif]>点击此链接查看更多示例:https://msdn.microsoft.com/en-us/library/ms537512(v=vs.85).aspx#code-snippet-8
https://stackoverflow.com/questions/40164526
复制相似问题