Font Properties

Most standard controls accept attributes that affect how text is displayed in a control. Generally, it's best to set font styling via CSS classes or via the "style" attribute available in most controls. However, the font properties provide a direct means of setting specific styles that affect the display of the control's text.

NOTE: Not all properties will function in all controls and browsers.

Font properties must start with "font-" and be followed by the name of the property you want to set. The following properties are available: