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

Chapter 21. Cascading Style Sheets and C... > Using Colors and Backgrounds

Using Colors and Backgrounds

Here are the style properties you use to set color and backgrounds:

  • color specifies the foreground color.

  • background-color specifies the background color.

  • background-image specifies a background image.

  • background-repeat specifies whether the background image should be tiled.

  • background-attachment specifies whether the background scrolls with the rest of the document.

  • background-position specifies the initial position of the background.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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