May17
gmail, issue, line break, resolution
Fix for Gmail Image Rendering Issues
Gmail has recently changed the way they interpret and display code. Most noticeably, this has caused a number of emails to render incorrectly. The broken Gmail emails are suffering from the same symptoms—horizontal lines between rows of images—Hotmail was encountering recently. Find my post about that issue here.
The same fix that applied to the Hotmail issue also applies here. Simply include img {display: block;} inbetween the style tags of your email and that should do the trick. If you want to be even more thorough, you can apply the same bit of code inline. Example:
<img src="images/header.jpg" style="display: block;" />
If there are any other ways of fixing this issue, please comment your findings below!
Posted by Bryan Quilty on May. 17, 2010
This fix worked with Gmail on my Mac using Safari, but it didn’t work in Gmail on Explorer. Any other ideas?
Posted by Randy on 04/04/2011 08:37 AM