font-size

Specifies either the explicit or relative size of the font compared to the base font size.

Platform Support

IENetscapeMozillaOperaSafari
4.0+4.0+1.0+4.0+1.0+

Usage

Example values: 12pt, 2em, 24px, small, 50%, etc.

Values

*Specify a value for font-size that is not on this list.
inheritInherit the value from the parent element.
largerLarger font.
smallerSmaller font.
xx-smallXX-small font.
x-smallX-small font.
smallSmall font.
mediumMedium font.
largeLarge font.
x-largeX-large font.
xx-largeXX-large font.

Remarks

You can explicitly specify a font size for font-size in either pixels or a percentage.

Availability

W3C CSS2

Related

text_css aptana_docs