Did you visit my site? Because it works like that.
Basically if the screen width is wider than the content DIV (mine was set at 800px) then there is no horizontal scroll bar and the content DIV is centered horizontally.
Once inner browser width < div width the div will stop repositioning and you will get a scroll bar to accomodate the div width.
|<-------------Inside width of browser------------->|
|<--------Width of DIV-------->|
No Scroll Bar
|<-Inside width of browser->|
|<--------Width of DIV-------->|
Scroll Bar