font-size

Support Key: [CSS1|CSS2] [IE3B1|N4B2|O3.5]
Other Font Properties
font-size-adjust
font-stretch
font
font-style
font-variant
font-weight
font-family
= Index DOT Css by Brian Wilson =
  Main Index | Property Index | CSS Support History | Browser History  



   Quick Statistics   
Default Value:
medium
Applicable Elements:
All
Inherit From Parent:
Yes
Applicable Media:
Visual
HTML Equivalent:
<font SIZE="(+/-)N">
What is it?
This property controls the size of text for a section. Objects within a section (such as Applets, Images and Horizontal Rules) are not affected by this property. The actual size of the font can be different than the value specified for 'font-size' due to interactions with the 'font-size-adjust' property. Child elements inherit the calculated value of the 'font-size' property.

Allowed Values
inherit
[CSS2] [N6|O7]
Type: Explicit
Description:
Explicitly sets the value of this property to that of the parent.
xx-small | x-small | small | medium | large | x-large | xx-large
[CSS1|CSS2] [IE3B1|N4B3|O3.5]
Type: Explicit
Description:
These values are computed against a table of available font sizes compiled by the browser. Medium is the default value for the 'font-size' property and should be equivalent to the current browser default size. A scaling factor of 1.2 is suggested in CSS2 for adjacent keyword values.
smaller | larger
[CSS1|CSS2] [IE4B1|N4B3|O3.5]
Type: Calculated
Description:
This size change value is relative to the font size of the parent element but is limited in range to that allowed by the system.
[length]
[CSS1|CSS2] [IE3B1|N4B2|O3.5]
Type: Explicit
Description:
Refers to either the length in relation to the current element or an absolute measurement. Negative values are not allowed.
[percentage]
[CSS1|CSS2] [IE3B1|N4B3|O3.5]
Type: Explicit
Description:
Refers to a percentage of the font size of the parent element.
Example
Ext/Doc: h5.xsmall { font-size: x-small }
In-Line:  <h5 STYLE="font-size: x-small">text</h5>
Notes Browser Peculiarities

Boring Copyright Stuff....