# Having trouble positioning CSS circles

**URL:** <https://forum.freecodecamp.org/t/having-trouble-positioning-css-circles/160964>\
**Category:** General\
**Created:** [November 26, 2017, 6:06pm UTC](https://forum.freecodecamp.org/t/having-trouble-positioning-css-circles/160964 "2017-11-26T18:06:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bakecaker](https://avatars.discourse-cdn.com/v4/letter/b/9de0a6/32.png) [@bakecaker](https://forum.freecodecamp.org/u/bakecaker)\
**Post date:** [November 26, 2017, 6:06pm UTC](https://forum.freecodecamp.org/t/having-trouble-positioning-css-circles/160964/1 "2017-11-26T18:06:35Z")

</div>

My pen: [https://codepen.io/bakecaker/pen/jazdKd](https://codepen.io/bakecaker/pen/jazdKd)

I’m trying to get the circles to take up half of the container each, but they’re slightly to the right and when you make the page bigger they hang to the left. Any suggestions? Been trying to get this to work for a couple hours. I’ve tried drawing the borders out to see how the elements are interacting. I’m stumped.

---

<div class="post-metadata">

**Author:** ![chrislpatton](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/chrislpatton/32/5462_2.png) [@chrislpatton](https://forum.freecodecamp.org/u/chrislpatton)\
**Post date:** [November 30, 2017, 3:35am UTC](https://forum.freecodecamp.org/t/having-trouble-positioning-css-circles/160964/2 "2017-11-30T03:35:58Z")

</div>

Might try adding a padding of 0 5px to .statusLights.col-sm-6 class, it currently has 15 px of padding on the left and right, this is making the content in the box larger than its parent container

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:33pm UTC](https://forum.freecodecamp.org/t/having-trouble-positioning-css-circles/160964/3 "2021-01-17T20:33:38Z")

</div>

Closed on January 17, 2021, 8:33pm UTC


