text-transform | NN 4 IE 4 CSS 1
| Inherited: Yes
Controls the capitalization of the element's text. When a value other than none is assigned to this attribute, the cases of all letters in the source text are arranged by the style sheet, overriding the case of the source text characters.
CSS Syntax text-transform: caseType | none
JavaScript Equivalent textTransform
Value A value of none allows the case of the source text to be rendered as-is. Other available constant values are: capitalize | lowercase | uppercase. A value of capitalize sets the first character of every word to uppercase. Values lowercase and uppercase render all characters of the element text in their respective cases.
Initial Value none
Example H2 {text-transform: capitalize}
Applies To All elements.
Object Model Reference
IE | [window.]document.all.elementID.style.textTransform