How To Use Conditional Comments To Target Outlook


Outlook still doesn’t conform to the latest HTML standards. Unfortunately, it uses the Microsoft Word as the rendering engine. There are a lot of common tags/formatting that doesn’t work in Outlook. Using conditional logic to target Outlook is a great way to get past Outlook’s rendering quirks.

Targeting All Versions of Outlook

Put this code in the HEAD section of the HTML to target all versions of Outlook/p>

Targeting Only Outlook 2007, Outlook 2010, and Outlook 2013

Put this code in HEAD section of the HTML to target Outlook 2007, Outlook 2010, and Outlook 2013 only.

Targeting Only Outlook 2000

Put this code in HEAD section of the HTML to target Outlook 2000 only.

Targeting Only Outlook 2013

Put this code in HEAD section of the HTML to target Outlook 2013 only.

Want to know what CSS properties will work in Outlook? click here


Email me, or send me a tweet @jennamolby.

Related Posts

  • 03/10/2016
    How to Create Marketo 2.0 Email Templates

    The new Marketo email editor allows for more customizations than ever before. You now have the ability to create modules, color pickers, number variables and more, but your email templates need to follow the email template 2.0 syntax in order to take advantage of these features. In this tutorial, I’ll show you how to create a Marketo 2.0 friendly template and how to turn your existing 1.0 email templates to 2.0 email templates.

  • 06/07/2016
    10 Things You Should Know About The New Marketo Email Editor

    Marketo recently rolled out a new email editor, also referred to as the Email Editor 2.0, for their Spring ’16 release. This highly anticipated feature allows for a better experience when editing and creating emails within Marketo. However, there are a couple things you should know before enabling the new email editor. Here are 10 things you should know about the new Marketo email editor.

  • 01/06/2016
    How to Localize a Date Field in Marketo Using a Velocity Script

    Earlier this month I was given the task of localizing the date formatting within a Marketo email. The email referenced a date field within Marketo that was formatted as yyyy-mm-dd. The issue was that it was a global email, sent out to different countries who do not format the date as yyyy-mm-dd. To fix this issue I created a simple velocity script to transform the date value into something that’s recognized within each country. Here’s a breakdown of how I did it and how you can implement something similar in your Marketo instance.

2 comment(s)
  • Thomas

    17/07/2015 at 10:46 pm

    Hi Jenna, I just discovered your website by this post, thank you for all your tips. Regarding Outlook targeting conditional CSS, I was wondering how to target Outlook 2013 only, now that Outlook 16 is released. Thank you, Regards, Thomas

    • James MontyCarbonari
      to Thomas

      08/12/2015 at 7:42 am

      Take out the GTE which stands for Greater Than or Equal to

Leave A Comment

Your email address will not be published. Required fields are marked *

About Me

I’m a Marketo & Pardot expert with a strong background in design and development. I specialize in email marketing, lead nurturing and CRM integrations for marketing and sales alignment. LEARN MORE

Most Commented
Popular Posts