cubevibes by sendcube email marketing blog
cubevibes RSS

We Talk About
sendcube
email marketing

Page Curl

Did Google Gmail Change Its Styling Of Paragraphs In Emails?

By Eve 23 June 2009 under Design For Email

While doing anĀ email testingĀ for one of thepixelage’s clients, we realize that Google’s Gmail no longer supports paragraph as it meant to be. If you were to use paragraph tag (<p></p>), as you should, Gmail seems to ignore them.

Gmail handling of paragraph.

Looking at the sample email above, you can see that Gmail is ignoring the paragraph spacing. We hope this is just a temporary bug and Google will resolve them soon but for now, to workaround this issue, we have to declare a paragraph style, margin height to be specific on every paragraph tag:-

<style type=”text/css”>
<!–
p {
margin-bottom: 16px;
}
–>
</style>

<p style=”margin-bottom: 16px;”>This is the first paragraph</p>
<p style=”margin-bottom: 16px;”>This is the second paragraph</p>
<p style=”margin-bottom: 16px;”>This is the third paragraph </p>

You can decide on the amount of spacing you want between your paragraph. For this sample we set it to 16px. Once you have done that, Gmail will start showing your paragraph correctly.

Gmail handling of paragraph, the right way.

We have tested this with other email clients to ensure that adding margin height does not cause any issue and the good news is, it doesn’t. Below are the list of email clients we tested on:-

  1. Gmail (Older version)
  2. Live Hotmail
  3. Yahoo! Mail
  4. Outlook 2000
  5. Outlook 2002/XP
  6. Outlook 2003
  7. Outlook 2007
  8. Lotus Notes 6.5
  9. Lotus Notes 7
  10. Lotus Notes 8
  11. Apple Mail 2.1
  12. Mobile Me
  13. Apple Mail 3
  14. Gmail
  15. Yahoo! Mail Classic
  16. Thunderbird 2.0
  17. Thunderbird 3.0 Beta 2

If you have a better way of handling this issue or if you know of any other issues on Gmail and have found ways to resolve it, do share them with us.

Share/Save/Bookmark

Comments On Did Google Gmail Change Its Styling Of Paragraphs In Emails?

  • I, Tyler would like to say...:

    Thanks for the tip. I had been noticing this issue as well, but had not found a solution.

  • I, Amran would like to say...:

    Hi Tyler,

    You are welcome. Hope this tip solve the problem. Cheers!

  • I, LnddMiles would like to say...:

    The best information i have found exactly here. Keep going Thank you

  • Name *
  • Email *
  • Website
  • Comments
  • Note: We believe that everyone should be heard, so comments here are not moderated. However, comments that are found to be off-topic, inflammatory or otherwise inappropriate will be removed. Repeat offenders will also be banned from commenting. Afterall, we are family friendly blog.