Line-height not working in Outlook 2010 for HTML Email

前端 未结 7 573
小鲜肉
小鲜肉 2021-01-31 08:52

Outlook 2010/ Outlook 2007 does not appear to be honoring line-height whatsoever in my HTML Email. (It works perfectly in Outlook 00 and Outlook 03)

I\'ve been doing som

相关标签:
7条回答
  • 2021-01-31 09:40

    I use a combination of inline CSS to control line-height:

    <p style="padding:0px;margin:0px;margin-auto:0px;mso-line-height-rule: exactly;line-height:110%;font-size:11pt;">paragraph text</p>

    The key element is the Microsoft proprietary CSS attribute, mso-line-height-rule: exactly;. The padding just prevents the paragraph tags from creating unnecessary space.

    0 讨论(0)
提交回复
热议问题