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

Chapter 2. CSS Basics

CSS lets you control your documents'appearance, but the big advantage of using CSS instead of just creating new HTML tags to do the same job is that by changing a definition in a single, centrally located CSS rule, you change the appearance of all the tags controlled by that rule (Figures 2.1 and 2.2).

Figure 2.1. An HTML page using CSS to add an image in the background, position the content down and to the right, and format the text.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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