Make your own free website on Tripod.com

Font

Syntax: font : value
Possible Values : font-style || font-variant || font-weight || font-size || line-height || font-family
Initial Value : Not defined
Applies to: All elements
Inherited : Yes

The font property may be used as a shorthand for the various font properties, as well as the line height.

Example:

P { font: italic bold 10pt/12pt Times, Arial }
see example in action

The above example specifies paragraphs with a bold and italic Times or serif font with a size of 10 points and a line height of 12 points.