Extra large space in Outlook 2013 and 2010.

Posted on Monday, October 15th, 2018.

Issue: Some crazy space keeps appearing between elements or in empty space areas.

Use this: mso-line-height-rule:exactly

What does it do?

This will force Outlook 2010 and 2013 to render the height of an element to your desired height. This is only needed if your height needs to be set less than 15px. You will also need to set the font-size and line-height to the height you need. This can be used to create small amount of space between elements or divider lines. The mso-line-height-rule:exactly can be set on a td or table, or it can be set in the head styles.

<table cellpadding=“0” cellspacing=“0” border=“0”><tr><td height=“14” style=“font-size:12px;line-height:14px;mso-line-height-rule:exactly;”>mso-like-height-rule:exactly;</td></tr></table>

Comments are closed.

Latest Articles