View Full Version : what is the meaning of this px/px??

02-25-2009, 01:30 PM
what is the meaning of the font size below

font:normal 10px/17px Arial, Helvetica, sans-serif;

what is the exactly size for 10px/17px?
what is the meaning of this px/px??

02-25-2009, 01:55 PM
'font' is a CSS shortcut, which means you can set several CSS properties related to fonts in one CSS property.

I wrote an article (http://www.sitepoint.com/article/introduction-css-shorthand/)for sitepoint years ago explaining all the CSS shortcuts.

The value x-large/110% refers to font-size and line-height. As both use size as value, they can be bundled together like this, with a slash, font-size always being the first value defined.