color
letter-spacing
line-height
text-align
text-decoration
text-indent
vertical-align
word-spacing
PROPERTY: text-transform
text-transform
:
capitalize
|
uppercase
|
lowercase
|
none
Compatibility:
IE4+ N4+
Version:
Level 1
Inherited:
Yes
The
text-transform
property allows you to control capitalization in a selected text.
capitalize
The
capitalize
value will capitalize the first letter in each word in a selected text.
uppercase
The
uppercase
value capitalizes all letters in a selected text.
lowercase
The
lowercase
value makes all letters lower case (no capitals) in a selected text.
none
The
none
value is the default. By declaring
none
, you can ensure that any previous declaration will not effect a selected text.
Code:
p { text-transform: none; }
p { text-transform: capitalize; }
p { text-transform: lowercase; }
p { text-transform: uppercase; }
or
<span style="text-transform: none;">How now brown cow?</span>
<span style="text-transform: capitalize;">How now brown cow?</span>
<span style="text-transform: lowercase;">How now brown cow?</span>
<span style="text-transform: uppercase;">How now brown cow?</span>
Output:
How now brown cow?
How now brown cow?
How now brown cow?
How now brown cow?
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information