Outlook Conditional Comments are incorrectly inserted as inline CSS

I'm using the below in my head tag:

<!--[if gte mso 9]><style>ul {margin: 0 0 12px 13px !important;}</style><![endif]-->

And when looking at the raw source in Apple Mail I can see it being inserted inline on my ul tags. Please fix.

roshodgekiss roshodgekiss, 4 years ago

Hi there danielkorte, we're really sorry about this - it's a known bug that we're looking to resolve. The issue is with our inliner (which kicks in when you check 'Move all my CSS inline...), so in the interim, you may want to try inlining all your CSS outside of the app (say, using Premailer) first, then make sure this checkbox is unchecked when you import into the app with the conditional comments in place.

We'll be in touch via this thread as soon as we push a fix - sorry again for this hassle!


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
danielkorte, 4 years ago

Where is the 'Move all my CSS inline' checkbox? I don't see it anywhere.

roshodgekiss roshodgekiss, 4 years ago

Hey there Daniel, on Step 2.2 when importing/updating campaigns, it's on the 'Import from web' / 'Edit my HTML' tabs:

http://api.cld.me/2e1Q3x372R2Q080R3o3j/move-html-inline.png

Let us know if you get into a jam here :)


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
dedra dedra, 4 years ago

Hi Rosanne, the same effect is under template use, but copy automatically and users cannot off it. Template previews ignore conditional comments. And at last case, conditional comments can not be only for Outlook, but for IE (for webmails) too.

roshodgekiss roshodgekiss, 4 years ago

Ah, you've got a good point there, dedra. When we make this fix, we'll ensure it covers both imported campaigns and templates. Sorry about this!


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098