It's 2010 - we have solved the problem "centered layout vs scrollbars" yet?

An unfortunate side effect of browser scrollbars being regarded as 'in-line' - in other words, the window is reduced when a scroll bar appears - is only centered layouts 'jump' a few pixels to the left when a page requires a vertical scroll bar.

Googling the subject have given solutions that all centered around from overflowing the body of 1px height (by adding a margin 1px bottom) to force the presence of a scroll bar at any time.

Now, this is not such a disaster of a solution if at least the scroll bar is grayed out. Such, the solution of 1px margin actually creates a live real scroll bar that scrolls... 1px. Leaving the Web Designer to watch as he has not done his math correctly.

This, to me, is an unacceptable solution. So I was wondering if there are other more creative out there.

HTML {overflow - y: scroll ;}

This CSS will solve your problems by forcing pages to have a gutter of a scroll bar (if it is a scroll bar).

Tags: Dreamweaver

Similar Questions

Maybe you are looking for

  • Firefox plugin vlc

    VLC plugin not faund!

  • Safari is slooow, crashes often and was crashing

    I have a MacBook Pro with OSX 10.8.5 and Safari 6.2.8 retina end 2012. I know, I know - I'm late, but until recently, everything worked very well and I heard negative things about El Capitan. We are a 100% Apple household and I've had my share of pro

  • Setup active in vpn3000

    the configuration is active / running at the moment are changed through the GUI or They become active only when "Save needed" is pressed. Regds, Vijay.

  • Library Media Player corrupt and no solution works to fix

    My WMP is version 12, running on Windows 7 with all updates installed.   He cannot locate one music, videos or photos from the hard drive, on which it is installed.  It can locate the attendance of the media to another computer on a home network.   I

  • How do I Determine Whether Silverlight® is installed on my PC Windows 8 x 64?

    Windows Update has 4 updates for Silverlight, hidden at the present time. I don't think that Silverlight is installed, this Win x 64 (Intel Inside) 8 PC. It's this: Explorer.exe concludes Silverlight.4.0.cab 27/03/2012 18:00 6 121 KB in C:\SWSetup\Wi