# Centre a form on a website

**URL:** <https://community.hubspot.com/t/centre-a-form-on-a-website/48038>\
**Category:** Lead Capture Tools\
**Tags:** enterprise\
**Created:** [December 6, 2021, 11:45am UTC](https://community.hubspot.com/t/centre-a-form-on-a-website/48038 "2021-12-06T11:45:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![KCulver9](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@KCulver9](https://community.hubspot.com/u/KCulver9)\
**Post date:** [December 6, 2021, 11:45am UTC](https://community.hubspot.com/t/centre-a-form-on-a-website/48038/1 "2021-12-06T11:45:10Z")

</div>

Hi!

How do I centre align a form embedded on a website?

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [December 6, 2021, 12:22pm UTC](https://community.hubspot.com/t/centre-a-form-on-a-website/48038/2 "2021-12-06T12:22:43Z")

</div>

Hi @KCulver9,

In the “Style & Preview” tab of your form, you should see a section “Style” in the left sidebar. Expand it and after some color options, you should be able to set the “Alignment” to “Center”.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![KCulver9](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@KCulver9](https://community.hubspot.com/u/KCulver9)\
**Post date:** [December 6, 2021, 2:06pm UTC](https://community.hubspot.com/t/centre-a-form-on-a-website/48038/3 "2021-12-06T14:06:26Z")

</div>

Hi Karsten,

I don’t have the option to do this. Have attached a screenshot

 ![Screenshot 2021-12-06 at 14.05.13.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/6/6638d5c50d144da79224f52c6ea43c9504786b0a.png)

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [December 6, 2021, 2:09pm UTC](https://community.hubspot.com/t/centre-a-form-on-a-website/48038/4 "2021-12-06T14:09:15Z")

</div>

Hi @KCulver9,

Last row, second item, there it is 🙂

Best regards!

---

<div class="post-metadata">

**Author:** ![KCulver9](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@KCulver9](https://community.hubspot.com/u/KCulver9)\
**Post date:** [December 6, 2021, 2:19pm UTC](https://community.hubspot.com/t/centre-a-form-on-a-website/48038/5 "2021-12-06T14:19:28Z")

</div>

Oh my, I’ve been staring at the screen too long. Haha 😄 Thank you!

---

<div class="post-metadata">

**Author:** ![BWright4](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@BWright4](https://community.hubspot.com/u/BWright4)\
**Post date:** [February 23, 2024, 7:18pm UTC](https://community.hubspot.com/t/centre-a-form-on-a-website/48038/6 "2024-02-23T19:18:24Z")

</div>

Hi did we ever figure out how to center the entire form’s html not just the button? @GFrancis

---

<div class="post-metadata">

**Author:** ![GFrancis](https://avatars.discourse-cdn.com/v4/letter/g/eb8c5e/32.png) [@GFrancis](https://community.hubspot.com/u/GFrancis)\
**Post date:** [April 19, 2023, 8:44pm UTC](https://community.hubspot.com/t/centre-a-form-on-a-website/48038/7 "2023-04-19T20:44:31Z")

</div>

All this does is center the button, not the form
