Export to GitHub

hartija - issue #2

line-height without unit


Posted on Apr 28, 2008 by Swift Wombat

why in the CSS declaration for the body:

body { width:100% !important; margin:0 !important; padding:0 !important; line-height: 1.4; word-spacing:1.1pt...... }

the line-height hasn't an unit? is it px, pt, em, %?

Comment #1

Posted on May 1, 2008 by Quick Kangaroo

Hi, line-height is using so-called "Unitless line-heights" read more on Eric Meyer site http://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/

Comment #2

Posted on Nov 13, 2008 by Swift Elephant

without a unit it act's like em

Status: New

Labels:
Type-Defect Priority-Medium