August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.classes.className.tagName.textTransform
The textTransform property specifies the transformation that should be applied to text as associated with the class called className. The definition can also specify a tag or the word all for tagName.
There are four types of values that are valid for the textTransform property: capitalize, uppercase, lowercase, and none.
Listing 7.92 uses the textTransform property to capitalize the first letter of every word in the sentence.
<html> <script> <!-- Hide //Create a style sheet class that defines capitalization document.classes.CAP.all.textTransform = "capitalize"; ... |
Read now
Unlock full access