# Padding Issue with Email HTML Module

**URL:** <https://community.hubspot.com/t/padding-issue-with-email-html-module/89860>\
**Category:** APIs & Integrations\
**Tags:** email\
**Created:** [September 18, 2023, 5:02pm UTC](https://community.hubspot.com/t/padding-issue-with-email-html-module/89860 "2023-09-18T17:02:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbertini](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jbertini/32/93635_2.png) [@jbertini](https://community.hubspot.com/u/jbertini)\
**Post date:** [September 18, 2023, 5:02pm UTC](https://community.hubspot.com/t/padding-issue-with-email-html-module/89860/1 "2023-09-18T17:02:11Z")

</div>

I’m often given HTML files for marketing emails. Recently after I added the HTML code to HubSpot’s marketing email HTML module, the email looked different than the original file. It seems like HubSpot is either adding or removing padding that is causing the issue.

Below is a side-by-side comparison. I can provide the code if necessary. Please note I am not proficient in HTML, I copy and paste what’s given to me and usually never have an issue.

Can someone please offer a solution?

 ![html issue side by side.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/73c664b58d85446521af38f435c8af70b1123d52.png)

---

<div class="post-metadata">

**Author:** ![spoti\_download](https://avatars.discourse-cdn.com/v4/letter/s/779978/32.png) [@spoti\_download](https://community.hubspot.com/u/spoti_download)\
**Post date:** [September 18, 2023, 7:02pm UTC](https://community.hubspot.com/t/padding-issue-with-email-html-module/89860/2 "2023-09-18T19:02:18Z")

</div>

When transferring HTML for marketing emails to HubSpot, ensure that you check and adjust any padding or formatting discrepancies in HubSpot’s editor to maintain the original design. If needed, consult HubSpot’s support or your email developer for specific guidance.

---

<div class="post-metadata">

**Author:** ![jbertini](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jbertini/32/93635_2.png) [@jbertini](https://community.hubspot.com/u/jbertini)\
**Post date:** [September 18, 2023, 7:30pm UTC](https://community.hubspot.com/t/padding-issue-with-email-html-module/89860/3 "2023-09-18T19:30:53Z")

</div>

Thanks. I do check and adjust for the padding options. The emails are built and sent from outside clients so I’m not sure what to tell them to include/exclude in their HTML files so this doesn’t happen. HubSpot support told me to try this Developer discussion 😂
