I found a snippet of code that allows me to target clients that have outlook 2007 or higher.
<!--[if gte mso 9]><![endif]-->
Is there anyway to target everything but outlook or outlook 2007 & higher? If you're giving an answer please give working code as I've tried
<!--[if ! mso 9]>
<!--[if ! mso]>
<!--[if !(mso)]>
None of the following worked in Gmail with firefox.
How to Build HTML for Conditional Links. Like we learned in the above example, conditional statements are best used outside your the Insert Link html elements. You will want to define your primary condition, then build the content to display after. Use {% else %} for your fallback content, and end with {% endif %}.
Basic syntax Section titled Basic syntax. We can use MSO (Microsoft Office) tags to add HTML / CSS anywhere in an email template. This code will be ignored by other email clients.
Supports block, inline, list-item, and none. Outlook doesn't really support <div> Classes and styles You can use them, but styles do not always get applied.
Try this:
<!--[if !mso]>--> content targeted at non-outlook users goes here... <!--<![endif]-->
To prevent statements being stripped in outlook.com, change <!-->
to <!-- -->
-
<!--[if !mso]><!-- --> All Except MSO 07-13 <!--<![endif]-->
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With