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

Chapter 6. Color and Background Controls > Setting Individual Background Proper...

Setting Individual Background Properties

Although you can set all the background properties with the background property (see the previous section, "Setting the Background"), you can also set each of the background properties individually.

Setting a background color

The ability to set the background color for an HTML page has been around almost since the first Web browsers. With CSS, however, you can define the background color for not only the entire page, but behind individual elements as well (Code 6.2 and Figure 6.3).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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