Michael B Allen wrote: > I have content that is centered on the page. Problem is - when a user > switches between a page that does not have a vertical scroll bar and > one that does (because the content fits within the browser window or > does not respectively) the centered content jumps left or right to > factor in the insertion or removal of the scroll bar.
You have two options: 1: html {overflow-y: scroll;} ...which I think is the most correct one, but it doesn't work perfectly in all browsers. 2: html {height: 100%; padding-bottom: 1px;} ...which acts more or less as your old solution, but sets the styles onto what is the outermost element in "standard mode". Page is always at least 100% (of window size) + 1px tall. regards Georg -- http://www.gunlaug.no ______________________________________________________________________ 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/