Firefox and Chrome doesn’t show a scrollbar on the right if the content of a page isn’t longer than the window. But when the content becomes longer, the vertical scrollbar appears and causes the layout to shift. This “jump” can be quite annoying as the whole layout moves to the left. To fix this:
html { overflow-y:scroll; }
Related Posts
July 3, 2011
Unable to open Word Files (Error)
February 4, 2012
[How] Flash: Seek() & PlayHeadTime() Accuracy
Fixing the inaccuracy of seek() function using key frame distance
January 30, 2014
[FIX] Scaling Smart Objects With Nearest Neighbor in Photoshop
How to use Nearest Neighbor interpolation to free transform Smart Objects in Photoshop