Contents Index Topic Contents | ||
Previous Topic: text-indent Next Topic: top |
text-transform
Description
Changes the rendering of text.
Syntax
{ text-transform: capitalize | uppercase | lowercase | none}
Remarks
The values are defined as follows:
capitalize Transforms the first character of each word to uppercase. uppercase Transforms all the characters to uppercase characters. lowercase Transforms all the characters to lowercase characters. This attribute is inherited.
Example
This example puts H1 elements in uppercase text.
H1 { text-transform: uppercase }Applies To
A, ADDRESS, B, BIG, BLOCKQUOTE, BODY, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, DD, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HTML, I, INPUT, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP, INPUT type=button, INPUT type=file, INPUT type=reset, INPUT type=submit, INPUT type=text
Scripting Property
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.