style.textTransform (Property)

Controls capitalization of the text within the styled element.


CSS level - 1
DOM level - 2
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myStyle.textTransform
CSS syntax:text-transform: aControl
Argument list:aControlA text transformation to apply

Sometimes you may want to format a block of text for a heading. It's likely you will want to modify the capitalization as well as the appearance.

Regardless of the actual upper/lower case combination of letters in the text block, they can be forced to be displayed according to the case rules defined by this attribute.

The following values can be assigned to this property:

See also:JSSTag.textTransform