HTML XHTML The Complete Reference
home » reference » appendix b » css1 / css2 properties


This property transforms the case of the affected text. Possible values are capitalize, uppercase, lowercase, and none. Note that a value of capitalize will affect every word in the selected text rather than first word only. The value of none is used to override any inherited text-transform values.


h1 {text-transform: capitalize;}
h1.nocap {text-transform: none;}
.allsmall {text-transform: lowercase;}
#bigletters {text-transform: uppercase; font-size: larger;}

Browser and CSS Support Notes

IE 4, 5, 5.5, 6
Nav 4 (incomplete for Mac), 4.5-4.8, 6, 7
Opera 6, 7

(X)HTML Elements
CSS Properties
Back: text-shadow Next: top
< Home | About | Chapters | Examples | Errata | Reference | Site Map >