I\'ve seen here and elsewhere that a recommended way to set up conditional comments to work with Outlook.com, but because of another known issue detailed below I\'m getting
Those sites that say you can do that are wrong. Outlook.com eats your conditional comments, and anything inside of them. Gave me quite a headache for a while.
For things where you need to use conditional comments, I found the best thing to do was to have the regular conditional comment section, but also include another table row / column or what have you with a class like class="outlookcom"
(on the td
) and hide it with display:none
. Then, in your tag you can target that hidden row with
ecxoutlookcom
(outlook prepends 'ecx' to all of your classed tags) and use display:block !important
to show itfor outlook.com