Always show Firefox scrollbar


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

Firefox hides vertical scrollbar by default. So, when you browse a site that have different page heights you notice a horizontal shift. This code will always display a scrollbar and prevent shifting.


Copy this code and paste it in your HTML
  1. html { overflow: -moz-scrollbars-vertical; }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.