Home » CSS Tutorial » CSS Properties » text-transform
text-transform
CSS Property Info :
| Syntax: |
text-transform: <value> |
| Possible Values: |
none | capitalize | uppercase | lowercase
|
| Initial Value: |
none |
| Applies to: |
All elements |
| Inherited: |
Yes |
CSS Browser Support :
Internet Explorer 4+
Netscape 4+
Opera 3.6+
W3C's CSS Level 1+
CSS Profile 1.0
Web TV
CSS Property Description :
The text-transform property allows text to be transformed by one of four properties:
capitalize (capitalizes first character of each word)
uppercase (capitalizes all characters of each word)
lowercase (uses small letters for all characters of each word)
none (the initial value)
Examples:
H1 { text-transform: uppercase }
H2 { text-transform: capitalize }
The text-transform property should only be used to express a stylistic desire. It would be inappropriate, for example, to use text-transform to capitalize a list of countries or names.
CSS Bugs / Problems :
none
Adapted by style-sheets.com, maker of Style Studio, powerful CSS Editor for Windows.
Copyright © John Pozadzides and Liam Quinn. All rights reserved.
Home » CSS Tutorial » CSS Properties » text-transform
|