force vertical scrollbar


/ Published in: CSS
Save to your folder(s)

force scrollbars on every page to prevent vertical jump when navigating from a page with a vertical scrollbar to page sans vertical scrollbar


Copy this code and paste it in your HTML
  1. html {
  2. overflow-y: scroll
  3. }

URL: http://html5boilerplate.com/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.