web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Line-height-rule Outlook

(0) ShareShare
ReportReport
Posted on by 278

Hi,

Anyone an idea how to solve this issue:

1. My Line-height rule isn't respected in Outlook. Not in <p>, not in <h1> . Text is collapsed ata all. 

pastedimage1648738590577v2.png 

2. I have this extra space all over. How can I remove that white space above my text? 

pastedimage1648738467609v1.png
I use the following css style

 h1 {

            font-size: 55px;
            font-family: Times New Romanserif;
            letter-spacing: -4px;
             line-height: 75%;
            line-height: 0.75;
            mso-line-height-rule: exactly;
}
I have the same question (0)
  • ElineB Profile Picture
    278 on at
    RE: Line-height-rule Outlook

    Hi Nya,

    Thanks for your reply. 


    I solved it already in the morning, but it was solved by only using 

        mso-line-height-rule: exactly;

    line-height: 75%;

    The other point is behaviour in my template I think, quite strange, but for now it is working fine. I am sorry I cannot share the whole template here. 

     

  • Verified answer
    Nya Profile Picture
    29,060 on at
    RE: Line-height-rule Outlook

    Hi Eline,

    For the question 1, if it only occurs in Outlook, please refer to the following post to adjust your code.

    css - Text in Outlook doesn't use line-height - Stack Overflow

    For the question 2, I copied your code snippets for the body and css but it just shows normally without the with space.

    pastedimage1649059851581v1.png

    Maybe you can paste the whole HTML of the email so I can reproduce it.

  • ElineB Profile Picture
    278 on at
    RE: Line-height-rule Outlook

    Text A?
    xxxxxxxx
    xxxxx!

    "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 182

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 129 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans