Community Forum

Over the years we have built up a community of email marketers, coders and designers that live and breathe email.

Use the Email on Acid Forum like your virtual water cooler: Stop by to discuss email code, quirky clients and fixes and post your issues (with an example of the code) for our community to offer its assistance.

 
   
Fix for line height ignored in Outlook 2010

lexcreative

Newbie
Total Posts:  1
Posted: 12 September 2013 08:48 PM

Does anyone know how to keep the line height from expanding in outlook 2010?  I added my desired line height in the code, but it seems that outlook is just ignoring it.

Image Attachments
Brow-Outlook2.jpg

 

Geoff Phillips

Avatar
Sr. Member
Total Posts:  386
Posted: 12 September 2013 09:06 PM
[ # 1 ]

Try adding “mso-line-height-rule:exactly” just before your line-height declaration.

For example:
< td style=“mso-line-height-rule:exactly; line-height:50px;>

This fix ONLY works on block elements.  So trying to achieve the same effect inside a font or span tag will not work. Since this is a Microsoft only CSS property, it should not interfere with any other email client.