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

Setting the Background

You can use the background property to define the background image and color for the entire page or the background image and color immediately behind any individual element on the page (Code 6.1 and Figure 6.1).

Code 6.1. This code sets up a background image for the entire page through the <body> tag. The image will be fixed on the right side and not repeat. In addition, the <h3> tag will have its own background image, which repeats only down from the top on the left side of the element.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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