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

CSS

In this section, I’ve reproduced some of the tables in Chapter 10, “Get Splashy: Style Sheets, Fonts, and Special Characters,” and Chapter 14, “Site-Wide Styles: Design, Accessibility, and Internationalization,” that discuss CSS styles. Text style properties are shown in Table A.1.

Table A.1. CSS Text-Style Properties
PropertyValueExample(s)
word-spacingNumber and units1pt, 4em, 1in
letter-spacingNumber and units3pt, 0.1em, +1
line-heightNumber and units24pt, 20px
text-decorationValueunderline, line-through, box, blink
text-transformValuecapitalize, lowercase, uppercase, none
text-indentNumber and units or percentage1in, 5%, 3em
vertical-alignValue or percentagebaseline, sup, sub, top, middle, 50%
text-alignValueleft, right, center, justify



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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