css - Hide scrollbar when not necessary, but keep the screen width consistent -


on pretty web browsers, scroll bar displayed when needed. fine, problem when scroll bar displayed, width of screen shrinks. results in awkward shift of content on screen.

i want prevent behaviour width of screen consistent whether scroll bar displayed or not displayed. how can achieve this? don't want use javascript/jquery if possible.

try jquery "perfect scroll" plugin here is: http://noraesae.github.io/perfect-scrollbar/


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -