# Divider not aligning in the center

**URL:** <https://forums.realmacsoftware.com/t/divider-not-aligning-in-the-center/45416>\
**Category:** RapidWeaver Elements\
**Created:** [November 26, 2024, 10:06pm UTC](https://forums.realmacsoftware.com/t/divider-not-aligning-in-the-center/45416 "2024-11-26T22:06:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![WeaverPixel](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/weaverpixel/32/25453_2.png) [@WeaverPixel](https://forums.realmacsoftware.com/u/WeaverPixel)\
**Post date:** [November 26, 2024, 10:06pm UTC](https://forums.realmacsoftware.com/t/divider-not-aligning-in-the-center/45416/1 "2024-11-26T22:06:56Z")

</div>

I just used the divider component the first time and I do not get it that it aligns in the center.

I placed a divider component in a container, set the width and height of the container and gave the divider a width of 256px. On the screenshot you can see that it is aligned vertically but horizontally it sticks on the left side.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/e/f/ef2faaf0e3b185bff3c8af903a811567d3d087a4.jpeg)

Any ideas what can be wrong?

---

<div class="post-metadata">

**Author:** ![sbchasin](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/sbchasin/32/26943_2.png) [@sbchasin](https://forums.realmacsoftware.com/u/sbchasin)\
**Post date:** [November 26, 2024, 11:08pm UTC](https://forums.realmacsoftware.com/t/divider-not-aligning-in-the-center/45416/2 "2024-11-26T23:08:39Z")

</div>

What are your settings for the divider??

---

<div class="post-metadata">

**Author:** ![handshaper](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/handshaper/32/27373_2.png) [@handshaper](https://forums.realmacsoftware.com/u/handshaper)\
**Post date:** [November 26, 2024, 11:36pm UTC](https://forums.realmacsoftware.com/t/divider-not-aligning-in-the-center/45416/3 "2024-11-26T23:36:51Z")

</div>

> [@WeaverPixel](#):
>
> I just used the divider component the first time and I do not get it that it aligns in the center.

Trying setting the left and right margins to AUTO as that will normally center things.

---

<div class="post-metadata">

**Author:** ![WeaverPixel](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/weaverpixel/32/25453_2.png) [@WeaverPixel](https://forums.realmacsoftware.com/u/WeaverPixel)\
**Post date:** [November 27, 2024, 9:52am UTC](https://forums.realmacsoftware.com/t/divider-not-aligning-in-the-center/45416/4 "2024-11-27T09:52:06Z")

</div>

Thanks @sbchasin and @handshaper for your comments. I thought that there is an easy solution - but that it is so easy 😂
