2009/11/23 Bill Braun <[email protected]>:

> This works flawlessly until I exceed a certain amount of content in div
> class=box. It then causes the entire page to shift to the left about
> 10px or so.

Would "enough content" happen to be "enough to stop it fitting on one
screen" and "10px or so" happen to be "the exact width of the browser
scroll bar"?

This is a problem with centred / right aligned designs.

I believe you can set overflow on the body to force the presence of a
scrollbar even when there is nowhere to scroll to — but that's
somewhat nasty.

I'd suggest hugging the left edge of the browser instead.

-- 
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to