Page 1 of 1

Why specify 2 font-sizes ?

Posted: Wed Aug 29, 2012 2:52 pm
by Live24x7
Hi

Why do many css declarations provide two font sizes for the same element.

I am talking about declarations like:

h1
{
font: normal 16px/22px "Helvetica Neue", Helvetica,Arial,Geneva,sans-serif;
}

the above example quotes font size of both 16px and 22px. What does that mean ?

thanks

Re: Why specify 2 font-sizes ?

Posted: Wed Aug 29, 2012 3:10 pm
by requinix
Font size 16px, line height 22px.

Re: Why specify 2 font-sizes ?

Posted: Wed Aug 29, 2012 3:50 pm
by Live24x7
thnks ..that was easy :)