{ FONT-SIZE : ABSOLUTE-SIZE |
RELATIVE-SIZE | LENGTH |
PERCENTAGE }
Inherited: Yes
The FONT-SIZE property allows you to change the size of the
font (i.e., characters in a text) by selecting from four different categories
of values. The amount of change in size is a relative, not fixed, quantity
that is determined by your individual computer and/or browser.
ABSOLUTE-SIZE
There are seven steps in the ABSOLUTE-SIZE values to choose
from:
XX-SMALL
X-SMALL
SMALL
MEDIUM
LARGE
X-LARGE
XX-LARGE
The amount of change caused by each step will be determined by the
individual computer/browser.
RELATIVE-SIZE
There are two RELATIVE-SIZE values to choose from:
LARGER
SMALLER
The amount of change will be determined by the individual computer/browser.
LENGTH
The LENGTH value can be in any of the following seven units.
Use the abbreviation.
| Length |
Abbrev. |
| centimeters |
CM |
| ems |
EM |
| inches |
IN |
| millimeters |
MM |
| picas |
PC |
| pixels |
PX |
| points |
PT |
PERCENTAGE
The PERCENTAGE value is the percent amount you wish to increase
or decrease the font size. Values less than 100% reduce the size of
the font. 100% gives no change. Values greater than 100% increase the
font size.
Code:
Selector {FONT-SIZE: X-LARGE}
Selector {FONT-SIZE: SMALLER}
Selector {FONT-SIZE: 18PT}
Selector {FONT-SIZE: 3EM}
Selector {FONT-SIZE: 75%}
Selector {FONT-SIZE: 150%}
Copyright 2000 by Infinite Software
Solutions, Inc.
Trademark Information
|