Hotmail stripping inline CSS


I’m having some trouble with Hotmail seeming to strip out some CSS attributes on my P and H tags.

I’ve sent a test email to a Gmail and Hotmail inbox. It renders fine on Gmail but not Hotmail. On inspection with Firebug, I can see that in Hotmail the inline styles are empty.

So in Gmail I have
<p style=”margin-bottom: 5px;”></p>
but in Hotmail I have
<p style=””></p>

Screenshot of Firebug

The Code

Exactly the same code was sent to both mailboxes.

Is this a known issue? It’s not oneI’ve heard about before and can’t find any reference to it.


davecoleman, 3 years ago

Hi all

Just had a response on this from Email On Acid.

Seems Hotmail has now dropped support for any CSS margin completely and enforces their own bottom margin. Great!

dedra dedra, 3 years ago

Tiscali drop margins too. Maybe help, if you create content complete with tables and insert empty cells instead margins. It works.

roshodgekiss roshodgekiss, 3 years ago

Thanks for jumping in here, guys - we'll likely cover Hotmail's lack of margin support in the coming week (and update our CSS guide). Fun times, hey? :D

Get in touch with us on Twitter:
We're also on Facebook:

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