Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
HTML and CSS
CSS Reference
Attributes

  Switch on low bandwidth view
CSS Attributes: Color and Background

This section contains a list of Cascading Style Sheets (CSS) properties that apply to background styles and color.

Attributes/Properties

background

Sets or retrieves up to five separate background properties of the object.

backgroundAttachment

Sets or retrieves how the background image is attached to the object within the document.

backgroundColor

Sets or retrieves the color behind the content of the object.

backgroundImage

Sets or retrieves the background image of the object.

backgroundPosition

Sets or retrieves the position of the background of the object.

backgroundPositionX

Sets or retrieves the x-coordinate of the backgroundPosition property.

backgroundPositionY

Sets or retrieves the y-coordinate of the backgroundPosition property.

backgroundRepeat

Sets or retrieves how the backgroundImage property of the object is tiled.

color

Sets or retrieves the color of the text of the object.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker