On 3/5/08, Gunlaug Sørtun <[EMAIL PROTECTED]> wrote:
> 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.

This seems to work perfectly in FF and IE so I'd say it's a winner.

Thanks,
Mike

-- 
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/
______________________________________________________________________
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