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

Adding Properties

Throughout this chapter, I've referred to style sheet properties. Properties are the specific formatting elements you use to change the appearance or position of text with style sheets. All style sheet types and selectors use the same set of properties.

Properties are truly the nuts and bolts of style sheets, because they add formatting capabilities that are otherwise unavailable to Web authors who use standard HTML. For example, using a style sheet property, you can specify that all level 2 (H2) headings should be 18 point Helvetica, with 36 points of leading—referred to as line height in CSS parlance—above the heading. Try doing that with basic HTML!


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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