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

07-08-2010, 08: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, 08:49 PM
100% is the font size, 1.4 is the line-height (leading)

07-08-2010, 09: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!