White horizontal lines problem in GMail and Hotmail

I think this one might have been aired before but I can't locate it on the CM forum.
What I mean is small horizontal line breaks between images in Gmail and Hotmail as per my screen grab.

I've resolved Hotmail by adding <style>img {display:block}</style> into <head>.  I found this on another forum.

I found this fix for GMail on the same forum but it's not working.  The fix being to add <img style="display:block" src=…  to every image.

I know Gmail is changing all the time so I wondered if anyone has any additional or more up to date fixes?

roshodgekiss roshodgekiss, 5 years ago

That's an interesting one, Julian! Gmail has been changing a bit, so perhaps a similar solution to the one in this post will help?

img { display: block !important; }

Just make sure your CSS code is inlined prior to sending. Let me know how you go with this :)

Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
expertiseontap.co.uk expertiseontap.co.uk, 5 years ago

Success!  That worked. Many thanks Ros.

Julian Wellings | Expertise on Tap 
Email Marketing | Video Marketing | Cheltenham UK
Follow me on Twitter

200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free