PDA

View Full Version : css font declaration question


DoubleV
02-04-2003, 03:24 PM
i saw this in the code for one of the sites:
font: 12px/1.2 Arial, Helvetica, sans-serif;
what does that "/1.2" stand for?

meow
02-04-2003, 03:36 PM
It's a value for line-height. It means the line-height should be 1.2 times the font-size.

http://www.w3.org/TR/REC-CSS2/fonts.html#propdef-font
http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-line-height

DoubleV
02-04-2003, 04:00 PM
thanks!