|
Gmail Stripping styles out of html elements in emails |
A recently 'feature' that has been added to Google is the way they are handling un styled elements.
In the last few weeks Gmail has started stripping the paragraph margins from its HTML emails. Basically is destroys the spacing from P tags, so that instead of being new lines, they are more like line breaks.
Checking the element in firebug shows that:
If you disable the style, then the html reverts to back to what you probably thought it should look like.
I'm guessing that as Gmail hasn't found an associated style with the element (P) it is applying its own.
You could change all the inline P's:
But that's hassle and not best practice really. I'll apply a CSS fix to it, and see if Gmail accepts that.
There are no comments for this entry.
[Add Comment] [Subscribe to Comments]