jsfiddle/jsfiddle-docs-alpha — Issue #130: Set line height to a unitless number ("1.25" instead of "15px")
Author: rudiedirkx
Created: 2011-12-17 19:08:29+00:00
State: open

My browser has a minimum font-size of 16px. I want that. I hate tiny unreadable letters. The problem is websites that have a pixel line-height that's not changed by that setting. The solution is simple: set the line-height from `"15px"` to `15 / 12 = "1.25"`. Don't change the font-size, my browser does that. For all the other browsers, nothing will have changed. Unitless line-heights work for **all** browsers.