PDA

View Full Version : CSS font property - always finding something new


DWcourse
07-08-2010, 09:21 PM
Can some one explane the "100%/1.4" in this style property definition?

font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;

d a v e
07-08-2010, 09:49 PM
100% is the font size, 1.4 is the line-height (leading)

DWcourse
07-08-2010, 10:10 PM
DOH! What a brain fart that was. :)

I guess what threw me off was that the 1.4 didn't have a unit (which actually looks like the best way to handle it: http://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/)

Thanks, Dave!