Spacing issues on Emails

Hi all, we are having major issues with spacing for our emails we are sending and curating within Hubspot. As you can see in the code the spacing should be 1.25 (125%) but for some reason it works on some emails like gmail but not on others like hotmail or mac mail. Any way we can fix this?


In Hotmail

In Gmail

The Code

Hi @JamieRose

Trust you are doing great.
I have checked the above comment that you have shared.
Here are my understanding.
1) If you use the line-height in (%) then it would definitely take the spacing more in some of email clients as in that case each and every email client take the line-height in (%) according to its own behaviour.
2) Its better to define the line-height in (px) instead of (%). If we define the line-height in (px) then it would render almost conistent in each and every email client. Also if your font-size is 14px then in pixels you line-height should be 22px.

Please check and let me know if that would helpful for you.

Thanks

Niharika Goyal

Hi Niharika,

Thank you very much for your response! Seems to be the same unfortunately. I’m not one for coding so unsure i’ve done it right but the same issues are occuring. Any other tips?


Code

Hotmail & Mac Mail

Gmail

Hi @JamieRose

Yes, you have done right.

Please add the margin:0px; in the <p> tag as well. Then styling would be
<p style=“line-height:22px;font-size:14px;margin:0px;”>

Kindly check.

Thanks

Niharika Goyal

Good morning please can someone help. We having major spacing issues with HubSpot Email.

I have tried adding the 22px but the outlook version and the gmail version are miles apart

I then changed it to 14 px - which was too small for Outlook and then back to 18px..

But Gmail’s spacing is still completely off - and this is not just in Gmail. Also on the Outlook web browers.

Can Anyone help please

Yes, We have the same problem when using snippets from any iphone or android device. There is NO spacing with any of our snippets and the formatting is NOT correct. It is correct when accessing snippets from a desktop however.

We have made multiple service requests with Hubspot and 2 different HS tech reps. say it is a “rich text formatting” problem that they can NOT do anything about. MAJOR PROBLEM for our team!! *Note: Our snippets were working fine from iphone and android devices back in September 2024 and before. Hubspot obviously changed something and now it DOES NOT WORK. HubSpot is a great tool but they NEED to address this issue or we will be leaving the HS platform.