1

该代码应该针对 '15' 和 Outlook.com 之前出现的任何 Outlook 客户端,但它似乎不能很好地工作。

<!--[if (lte mso 15)|(office365) ]>
<style type="text/css">
.client-fix{ 
  display: none!important;
}
</style>
<![endif]-->

无论如何,我真正需要做的是能够瞄准雅虎和美国在线,但到目前为止,我还没有找到任何关于如何做到这一点的可靠信息。

请帮忙

4

2 回答 2

0

截至 2020 年,随着雅虎最近更新了他们的代码库,一种新的针对 AOL 和雅虎的方式已经出现,诀窍是使用一个不常见的 unicode 元素作为 ID,这样雅虎就不会将其过滤掉:

<html>
<body>
<!-- START force fallback on Yahoo/AOL -->
<style>
    .& #√ .yahooAOLhide {display: none !important;}
    .& #√ .yahooAOLshow {display: block !important;}
</style>
<!-- END force fallback on Yahoo/AOL -->
<table id="√"><tr><td>  
<div class="yahooAOLhide">
    @@@@@@@@
</div>
<div class="yahooAOLshow" style="display: none;mso-hide:all;">
    YAHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!
</div>
</td></tr></table>
</body>
</html>
于 2020-03-31T01:40:11.407 回答
0

我在网上看到了一些雅虎解决方案,但我还没有让它们工作。我可以通过应用一个类并使用以下代码选择它来定位 AOL:

.aolReplacedBody .bullet {
        styles here
    }
于 2016-08-27T22:33:59.103 回答