# HTML Embed has large margins

**URL:** <https://community.hubspot.com/t/html-embed-has-large-margins/106931>\
**Category:** CMS Development\
**Tags:** professional\
**Created:** [May 10, 2024, 8:36pm UTC](https://community.hubspot.com/t/html-embed-has-large-margins/106931 "2024-05-10T20:36:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CALEBTW](https://avatars.discourse-cdn.com/v4/letter/c/f1d935/32.png) [@CALEBTW](https://community.hubspot.com/u/CALEBTW)\
**Post date:** [May 10, 2024, 8:36pm UTC](https://community.hubspot.com/t/html-embed-has-large-margins/106931/1 "2024-05-10T20:36:45Z")

</div>

I am working on a embed module with HTML code. When the module is publised I have very wide margins when viewing on desktop. My margins and padding are all set to ZERO. I am not a developer so my knowledge is very low.  
How can I make the module full page width?  
I have tried making the Width 150%, but that only extends the module to the right, leaving the same space to the left.

 ![CleanShot 2024-05-10 at 14.13.37@2x.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/d/3d79c2f1e8b311a812a23e76868ca964ae295095.jpeg)

Code I was provided below

```lia-code-sample
<div class="embed-container">
 <div id="inksoftEmbed" style="width: 100%; height: 900px; padding: 0; margin: 0; border: 0; max-height: 100%; width: 100%;"></div>
 </div>
 <script type="text/javascript">
 (function() {
 function init() {
 var scriptElement = document.createElement('script');
 scriptElement.type = 'text/javascript';
 scriptElement.async = true;
 scriptElement.src='https://cdn.inksoft.com/FrontendApps/storefront/assets/scripts/designer-embed.js';
 scriptElement.onload = function() { launchDesignStudio() };
 document.getElementsByTagName('body')[0].appendChild(scriptElement);
 }

 function launchDesignStudio() {
 window.inksoftApi.launchEmbeddedDesignStudio({
 targetElementId: 'inksoftEmbed',
 domain: 'https://stores.inksoft.com',
 cdnDomain: 'https://cdn.inksoft.com',
 storeUri: 'DS759117295'
 });
 }

 init();
 })();
 </script>

```

Thank you in advance

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [May 13, 2024, 4:23pm UTC](https://community.hubspot.com/t/html-embed-has-large-margins/106931/2 "2024-05-13T16:23:01Z")

</div>

Hey, @CALEBTW 👋 It looks like this post got hung up in the spam filter. I moved it out so it’s visible to our community members now.

Best,

Jaycee
