Title: Problem with float and centering containing element
Last modified: August 21, 2016

---

# Problem with float and centering containing element

 *  [booneshakalaka](https://wordpress.org/support/users/booneshakalaka/)
 * (@booneshakalaka)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/problem-with-float-and-centering-containing-element/)
 * I am having an issue centering the container for my body elements (content and
   sidebar). I have it set as – margin: 0 auto – but seems to be favoring the left
   side of the screen. I want it so the body elements remain a fixed width and the
   margin shrink as the screen adjusts.
 * If someone can help I would greatly appreciate it.
 * My site is [buildthefire.com](http://buildthefire.com)
 * Thanks
 * _[Please do not create duplicate threads – [http://wordpress.org/support/topic/issue-w-margins-for-non-responsive-site?replies=3](http://wordpress.org/support/topic/issue-w-margins-for-non-responsive-site?replies=3)]_

The topic ‘Problem with float and centering containing element’ is closed to new
replies.

## Tags

 * [center](https://wordpress.org/support/topic-tag/center/)
 * [container](https://wordpress.org/support/topic-tag/container/)
 * [float](https://wordpress.org/support/topic-tag/float/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [booneshakalaka](https://wordpress.org/support/users/booneshakalaka/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/problem-with-float-and-centering-containing-element/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
