1-866-284-2541  |  Registered Users LOGIN 

MailChimp Home Learn More Pricing Resource Center Blog Free Trial


Gmail Padding Fix for HTML Email Templates

February 18, 2008 – 11:48 am

I thought for sure Gmail would fix the cellpadding problem that popped up last November, but I guess they did all that on purpose. Oh well.

So we just upgraded our HTML Email template designer to work for Gmail. It uses inline-CSS to add the padding for proper Gmail rendering. In other email programs, where CSS doesn’t work, our templates fail gracefully to use the old-fashioned cellpadding. Here’s a before-and-after screenshot (click to zoom in):

Gmail cellpadding broken

MailChimp users: This only applies to brand new templates, created after February 15th. Normally, we like to make changes like this retroactive, but this was one of those changes to our code base that just wouldn’t allow for that.  So if you want your templates to work perfectly in Gmail, you’ll need to create all new ones in MailChimp. Otherwise, your templates will work fine in all the other major email programs. If you’re looking for an excuse not to go through the work of creating new templates, you can always say, “That’s Gmail’s problem, because they’re still in friggin’ beta.”

For me, this was just a good excuse to sit down and tweak all my old templates, and to go ahead and make a few more (see: 7 basic email templates every business needs).

  1. 3 Responses to “Gmail Padding Fix for HTML Email Templates”

  2. I am SOOO glad that you have done this! (Although I already started on a new campaign using the old template, alas.)

    You know what would be completely awesome? If we were somehow able to easily transfer the styles between templates, making copying and pasting text and background colors less of a thing.

    By rebecca on Feb 29, 2008

  3. Hi Rebecca, we’re currently working on tweaking our templates, so I’ll definitely send this comment over to the user experience team. Thanks!

    By Ben on Feb 29, 2008

  4. Can’t explain how grateful I am that this fix has been incorporated - I was tweaking and retweaking my templates to get the inline-CSS working. Then I discovered Mailchimp’s glorious templates, and have never looked back!

    By Sean on Jul 3, 2008

Post a Comment

Mailchimp Blog built by Muse