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, 4 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, 4 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, 4 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:

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free