Why specify 2 font-sizes ?

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
Live24x7
Forum Contributor
Posts: 194
Joined: Sat Nov 19, 2011 9:32 am

Why specify 2 font-sizes ?

Post 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
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Why specify 2 font-sizes ?

Post by requinix »

Font size 16px, line height 22px.
Live24x7
Forum Contributor
Posts: 194
Joined: Sat Nov 19, 2011 9:32 am

Re: Why specify 2 font-sizes ?

Post by Live24x7 »

thnks ..that was easy :)
Post Reply