Question

I'm getting double spacing in Outlook 2007/2010/2013 and GMail but it looks fine elsewhere. I'm creating a newsletter and I've tried all-sorts: border-collapses, margins, paddings, spans, and still can't get my head around this. Can anyone see where I'm going wrong? Am I missing something?

Link below - source code too long to paste here. Sorry.

http://pastebin.com/FW3RgYuv

Was it helpful?

Solution

For one, all styles must be inline. Most mail clients do not support stylesheets.

You are not building a web page, you're building an email, therefore everything in your HEAD section will be removed, including your embedded stylesheet.

In you code you have </br>. This is not a valid tag. Use <br />.

NEVER NEVER use !important. Inline styles already override other styles, plus you can dig yourself into a dead end.

Put your text in a DIV or a P and style that, not the TD. Not all styles are supported by every mail client. Here's a good list to compare to.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top