ActionRocket
Services Work Contact Reading Corner Email Weekly
Home Work Services Email Weekly
ServicesWorkContactReading CornerEmail Weekly
ActionRocket
ActionRocket Home Work Services Email Weekly

Do changes to Gmail’s rendering affect your email HTML? (includes fix)

gmail-logo

gmail-logo

Typical! I’m off work for a few days with the flu and the whole internet goes haywire! Gmail have recently had a bit of an Outlook 2007 moment, causing yet another rendering problem for HTML email coders. Luckily, this one is pretty easy to fix, and to be honest is close to a fix that you should already be implementing to combat a similar Hotmail + Firefox/Safari issue.The issue is that extra spacing can be included around images in email HTML, when viewed in Gmail through Firefox, Safari, Opera and Chrome (But not Internet Explorer). Hotmail has a similar issue, and the fix for that is to add this style declaration at the top of your html: <style>img </style>However, as Gmail can ignore this code, the best way to work around this issue in Gmail is to add the style declaration to every image, i.e.: <img style="display:block" src=...So all in all not a show stopper, but still another step to add to that checklist.  It's also worth remembering that this also affects triggers, templates and anything else you may have that is mailed but isn't part of the day to day html builds.Has this affected you and your email campaigns? let us know in the comments!First spotted by e-Dialog’s coding gurus and Alchemy Worx.

CodeAction RocketMay 12, 2010gmail, google mail, html code fixes, html email best practice, rendering issues
Facebook0 Twitter Reddit 0 Likes
Previous

The importance of QA in Email

StudioMay 17, 2010bad qa, chez gerard, food emails, multiple language email, restaurant emails
Next

Email Inspiration: Made.com New Product Mailing

DesignMay 7, 2010facebook, furniture emails, made-com, twitter

Got a project?

Contact us

Leave us a message and we'll get back to you.

Name *

Thank you for your message.

 

Sign up:

#EMAILWEEKLY

Sign-up to our weekly industry round-up email. Including our top email, design and strategy articles curated by the team each week.

By signing up you agree to receiving the latest updates, tips and industry news.

Thank you for subscribing

hello@actionrocket.co
Hours
HomeServicesWorkReading CornerResourcesEmail WeeklyCareers
 
  • Terms of Use

  • Privacy Policy

© 2011-2023 Action Rocket Ltd. All rights reserved.
Registered in England and Wales, № 07783258. VAT № 130667819

 
White logo.png