• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 10. Text Properties > text-transform Property

10.8. text-transform Property

The text-transform property is another of those CSS properties whose name doesn't adequately describe its function. Many new users might be forgiven for thinking that perhaps it does something to change or otherwise “transform” the text on the page to something else altogether. While the term is correct in typographical terms, for the layperson, all it really does is control the case (as in “upper-” or “lower-” case) of the words it encloses.

text-transform has four different values: capitalize, lowercase, uppercase and none. Each of these values is fairly self-explanatory; they affect the text they enclose in the ways they describe, although it should be said that capitalize in this case means “initial capitals.” You can find all four values for text-transform used in Listing 10.8, whose results can be seen in Figure 10-8.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint