{ FONT-WEIGHT :
NORMAL |
BOLD |
BOLDER |
LIGHTER |
100 |
200 |
300 |
400 |
500 |
600 |
700 |
800 |
900 }
Inherited: Yes
The FONT-WEIGHT property allows you to choose how thick or thin the characters
of a text appear. This is referred to as boldness.
Boldness is a relative, not fixed, quantity which is determined by
your individual computer and/or browser.
NORMAL
The NORMAL value is the default. On the numeric scale running from 100 to
900, NORMAL is usually considered to be 400.
By declaring NORMAL, you can ensure that
any previous declaration will not effect a selected text.
BOLD
The BOLD value corresponds to the <B> tag in HTML. On the numeric scale
running from 100 to 900, BOLD is usually considered to be 700.
BOLDER
The BOLDER value makes the character appear thicker in size and, hence, increases
the boldness. The amount of change will be determined by the individual
computer/browser.
LIGHTER
The LIGHTER value makes the character appear thinner in size and, hence, decreases
the boldness. The amount of change will be determined by the individual
computer/browser.
100 ... 900
The 100,200,300,400,500,600,700,800,900 values
provide nine steps in range of boldness. The larger the number, the
greater the boldness. This is a relative numeric scale where 400 usually
equates to NORMAL and 700 to BOLD. The amount of change caused by each step
will be determined by the individual computer/browser.
Code:
Selector {FONT-WEIGHT: NORMAL}
Selector {FONT-WEIGHT: BOLD}
Selector {FONT-WEIGHT: BOLDER}
Selector {FONT-WEIGHT: LIGHTER}
Selector {FONT-WEIGHT: 600}
{ FONT :
FONT-STYLE &|
FONT-VARIANT &|
FONT-WEIGHT &|
FONT-SIZE &| /
LINE-HEIGHT &|
FONT-FAMILY }
Inherited: Yes
The FONT property allows you to declare any or all of the five individual
FONT properties, discussed above, in only one declaration. In addition,
you can also set a sixth value, the LINE-HEIGHT.
/ LINE-HEIGHT
The LINE-HEIGHT value determines the amount of space between lines.
It may be a relative number, a percentage, or a font size.
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