Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


development:css:force_v_scroll

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

development:css:force_v_scroll [2017/12/12 10:06] (current)
tplecko created
Line 1: Line 1:
 +====== 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. 
 +<code css> 
 +html {overflow-y:​ scroll;} 
 +</​code>​
development/css/force_v_scroll.txt · Last modified: 2017/12/12 10:06 by tplecko