View Single Post
Old 01-04-2008, 05:05   #1 (permalink)
mk2phil
Registered User
 
Join Date: Aug 2004
Posts: 95
what is this Font declaration shorthand for?

I've recently been looking into stylesheet resetting and have come across many instances of the font declaration having both a percentage and em declaration like shown:

font: 75%/1.4em "Trebuchet MS", Arial, Helvetica, sans-serif;

I haven't seen the 75%/1.4em syntax before - what does it mean?

Usually I'll set my body font-size to 62.5% and then use my <p> tags with a 1.1em declarations to easily determine pixel size.


Cheers
  Reply With Quote