Export (0) Print
Expand All

Color and background

The following cascading style sheet properties apply to background styles and color.

Properties

  • background   Sets up to five separate background properties of the object.

  • background-attachment   Sets how the background image is attached to the object within the document.

  • background-color   Sets the color behind the content of the object.

  • background-image   Sets the background image of the object.

  • background-position   Sets the position of the background of the object.

  • background-repeat   Sets how the background-image property of the object is tiled.

  • color   Sets the color of the text of the object.

See also

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.

Community Additions

ADD
Show:
© 2014 Microsoft