Force Vertical Scrollbar

0
0
html {
  overflow-y: scroll;
}

This is invalid CSS, but it works in everything except Opera. The reason for this is to prevent “centering jumps” when navigating back and forth between pages with enough content to have a vertical scroll bar and pages that do not.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.