Emails from Outlook 2007 to have paragraphs with margins

Today I was testing emails and email signatures with and while I'm sending from Outlook 2007 I found both add the usual unnecessary paragraph with msoNormal class around my content in the table cells.

That give stupid 13.5pt line-height and other paragraph 14pt bottom margin.


Here after a couple of screenshots for the problem with and without styling:

Without any type of styling

Here is how it should be and how it appears on Gmail while it was sent also from Outlook 2007

I did managed the line-height issue but I still receive it on with that bottom margin (14pt) with spans inside or only text .. with styling or not while it's fine on all other mail providers / clients.

HTML for test

<table border="0" cellspacing="0" cellpadding="0" width="100%">
      <td width="80" style="height:13px;">data</td>
      <td style="height:13px;">data</td>
      <td width="80" style="height:13px;">data</td>
      <td style="height:13px;">data</td>
      <td width="80" style="height:13px;">data</td>
      <td style="height:13px;">data</td>
Stephen, 3 years ago

Hi hsobhy,

Thanks for getting in touch and sorry to hear you're having these Outlook 2007 woes, we feel your pain!

Just to confirm, Outlook 2007 can unfortunately add its own stylesheet to your HTML when sending, and will sometimes update your elements and add a class of "MsoNormal" to them.

To try to combat this, you could thus try adding a CSS class to your campaign's stylesheet, such as:

p.MsoNormal {margin: 0px}

In addition, you could also try adding “mso-line-height-rule:exactly” just before a line-height declaration on your table rows.

As such, you may wish to also try adding the following to your <td> tags:

<td style="mso-line-height-rule:exactly; line-height:13px; height:13px;" width="80">

So perhaps give that a try and let us know how you go here! :)

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