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

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -