How To Use Conditional Comments To Target Outlook

In:

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

Questions?

Email me, or send me a tweet @jennamolby.




Related Posts

  • 06/12/2018
    Creating Pardot Email Templates: Common Questions & Answers

    Can my Pardot email be responsive? Why doesn’t my background image appear in Outlook? Can Pardot emails be drag & drop? I get asked these questions a lot from Pardot users and see them posted frequently in the Trailblazer Community. Let’s dive into these questions as well as other common Pardot email template questions.

  • 24/10/2018
    How to Create a Net Promoter Score Survey in Pardot

    Learn how to build a net promoter score (NPS) survey directly in Pardot. I will show you how to create an NPS survey that asks the recipient to give you a score from 1 – 10 using an in-email rating that directs them to a Pardot landing page to collect more information.

  • 24/05/2017
    8 Tips for Creating Marketo 2.0 Email Templates From Scratch

    Over the past couple of months, I have been creating email templates using the new(ish) email template syntax in Marketo and I’ve learned a couple tricks along the way. To save you from some headaches, here are 8 tips that I’ve learned from creating Marketo 2.0 email templates from scratch.

3 comment(s)
  • Sourav Hazra

    11/01/2018 at 5:12 am
    Reply

    Thank You Very Much for Sharing this.

  • Thomas

    17/07/2015 at 10:46 pm
    Reply

    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
      Reply

      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

Welcome to my blog, where I share, tips, tricks, thoughts and solutions that I learn in my daily life as a sales and marketing professional.

LEARN MORE

Categories
Most Commented
Popular Posts