System.Web.UI.WebControls Namespace
Specifies the font sizes as defined in HTML 4.0.
The FontSize enumeration represents the font sizes defined by HTML 4.0. The font size can be an absolute or relative size.
An absolute font size represents a predefined font size determined by the browser. The possible values for an absolute font size are XXSmall, XSmall, Small, Medium, Large, XLarge, and XXLarge.
A relative font size represents a font size one size larger or smaller than a parent element's font size. The possible values for a relative font size are Smaller and Larger.
NOTE: Some browers do not recognize Smaller and Larger font sizes. Check with your browser for compatibility.
Member Name |
Description |
AsUnit |
The font size is specified as point values. |
Large |
The font size is large. |
Larger |
The font size is larger. |
Medium |
The font size is medium. |
NotSet |
The font size is not set. |
Small |
The font size is small. |
Smaller |
The font size is smaller. |
XLarge |
The font size is extra large. |
XSmall |
The font size is extra small. |
XXLarge |
The font size is extra extra large. |
XXSmall |
The font size is extra extra small. |