# Spacing issues on Emails

**URL:** <https://community.hubspot.com/t/spacing-issues-on-emails/71299>\
**Category:** Email Marketing Tool\
**Created:** [December 15, 2022, 1:31pm UTC](https://community.hubspot.com/t/spacing-issues-on-emails/71299 "2022-12-15T13:31:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamieRose](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@JamieRose](https://community.hubspot.com/u/JamieRose)\
**Post date:** [December 15, 2022, 1:31pm UTC](https://community.hubspot.com/t/spacing-issues-on-emails/71299/1 "2022-12-15T13:31:45Z")

</div>

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?

 ![Screenshot 2022-12-15 at 13.27.41.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/7/57e247ca2cc41b6b0e4c1adfb5f3b2a0874803ca.png)  
In Hotmail  
 ![Screenshot 2022-12-15 at 13.27.51.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/7ee4f393fa1ef3027e2fa1b39cde4883dbec71bf.png)  
In Gmail  
 ![Screenshot 2022-12-15 at 13.29.47.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/2/920534e3c8fef9cd0a1fc144dd2e2e5f32b6e06e.png)  
The Code

---

<div class="post-metadata">

**Author:** ![Niharika](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/niharika/32/30293_2.png) [@Niharika](https://community.hubspot.com/u/Niharika)\
**Post date:** [December 16, 2022, 5:37am UTC](https://community.hubspot.com/t/spacing-issues-on-emails/71299/2 "2022-12-16T05:37:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![JamieRose](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@JamieRose](https://community.hubspot.com/u/JamieRose)\
**Post date:** [December 16, 2022, 11:20am UTC](https://community.hubspot.com/t/spacing-issues-on-emails/71299/3 "2022-12-16T11:20:54Z")

</div>

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?

 ![Screenshot 2022-12-16 at 10.57.15.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/5/751d6683144137b4590b66682f31a93b5791addf.png)  
Code  
 ![Screenshot 2022-12-16 at 10.57.49.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/e/9e1619f229d3196bf2fb38061984dfe1558feec1.png)  
Hotmail & Mac Mail  
 ![Screenshot 2022-12-16 at 10.57.57.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/f/f7f61e885ab2c26235126ae501bda862dd4615d8.png)  
Gmail

---

<div class="post-metadata">

**Author:** ![Niharika](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/niharika/32/30293_2.png) [@Niharika](https://community.hubspot.com/u/Niharika)\
**Post date:** [December 16, 2022, 4:05pm UTC](https://community.hubspot.com/t/spacing-issues-on-emails/71299/4 "2022-12-16T16:05:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![NHeyman](https://avatars.discourse-cdn.com/v4/letter/n/a6a055/32.png) [@NHeyman](https://community.hubspot.com/u/NHeyman)\
**Post date:** [June 25, 2024, 9:11am UTC](https://community.hubspot.com/t/spacing-issues-on-emails/71299/5 "2024-06-25T09:11:54Z")

</div>

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

 ![18px issues.png](https://d2qpr2jzcazej7.cloudfront.net/original/1X/0256e2eb732a3431d012a9662b534fb51f24b974.png)

 ![14px issues.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/e/e7979baba2695c0f72b6294a5e913b85a12159b5.png)

---

<div class="post-metadata">

**Author:** ![PKings](https://avatars.discourse-cdn.com/v4/letter/p/3d9bf3/32.png) [@PKings](https://community.hubspot.com/u/PKings)\
**Post date:** [December 21, 2024, 5:07pm UTC](https://community.hubspot.com/t/spacing-issues-on-emails/71299/6 "2024-12-21T17:07:45Z")

</div>

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.
