I'm assuming that you don't want the content area to be as wide as the entire extended browser window?
you need to give your #wrapper div a given width, then all other divs can take 100% width of it.
For instance,
#wrapper
{
margin-left: auto;
margin-right:auto;
width:960px;
}
a source
to share