Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


development:css:force_v_scroll

Force vertical scrollbar

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.

html {overflow-y: scroll;}
development/css/force_v_scroll.txt · Last modified: 2017/12/12 10:06 by tplecko