{ FONT : FONT-STYLE &|
FONT-VARIANT &| FONT-WEIGHT &|
FONT-SIZE &| | / LINE-HEIGHT &|
FONT-FAMILY }
Inherited: Yes
The FONT property allows you to combine together in only one
declaration any, or all, of six individual Cascading Style Sheet properties
related to font. Each of these six individual properties are discussed
on their own page.
Note the forward slash before / LINE-HEIGHT. It must appear
and is used in association with the font size. The use of the /
is demonstrated in the first five code examples.
Code:
Selector {FONT: ITALIC SMALL-CAPS 600
12pts/18pts Courier}
Selector {FONT: ITALIC SMALL-CAPS 600 12pts/150%
Courier}
Selector {FONT: ITALIC SMALL-CAPS 600 12pts/1.5
Courier}
Selector {FONT: ITALIC SMALL-CAPS 600 12pts/18pts
Courier}
Selector {FONT: /18pts SERIF}
Selector {FONT: OBLIQUE 100 24pts}
Copyright 2000 by Infinite Software
Solutions, Inc.
Trademark Information
|