# Centering content until a certain resolution

**URL:** <https://forum.kirupa.com/t/centering-content-until-a-certain-resolution/265160>\
**Category:** Uncategorized\
**Created:** [July 5, 2008, 12:01am UTC](https://forum.kirupa.com/t/centering-content-until-a-certain-resolution/265160 "2008-07-05T00:01:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![geestring](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@geestring](https://forum.kirupa.com/u/geestring)\
**Post date:** [July 5, 2008, 12:01am UTC](https://forum.kirupa.com/t/centering-content-until-a-certain-resolution/265160/1 "2008-07-05T00:01:28Z")

</div>

I have a left side nav menu. and I want my content to be centered.

right now im using margin: 0px auto;

However when my browser is resized, the content is centered and overlaps the side nav. is it possible to restrict the centering when it hits the left nav?
