I am attempting to create a responsive design purely via CSS with a fixed sidebar width (in pixels). Unfortunately, my #post_content section is resizing in such a way that the content inside it is not completely filling up its area. Does anybody know what I have done wrong or a better way to approach this problem?
Following on from what @ChrisP has done, you could leave out the percentages if you wanted the sidebar to stay the exact same width, regardless of the width of the browser (I think that’s what you’re after from your desc).
I’ve put something together [here](http://codepen.io/David_Leitch/pen/jdtrs “http://codepen.io/David_Leitch/pen/jdtrs”), where I’ve put the sidebar as 200px, with the content filling up the rest of the container.
Thanks for the help, this gets it very close. I had tried something similar earlier with the same result…
Right now the #post_content area ends up filling the entire width of the #container and underlapping #sidebar. Any suggestions? [http://themeforward.com/demo2/?p=1948](http://themeforward.com/demo2/?p=1948 “http://themeforward.com/demo2/?p=1948″)
@siouxfan45, Looking at [WebDesignerWall.com](http://webdesignerwall.com “”), they apply a `margin-right: -268px; width: 100%;` instead of `margin: 0 auto;` to the container, then apply a `margin-right: 268px;` to content_wrapper.