background | WebReference

background

Name: background

Description: Sets the background properties. Used as a type of shortcut, instead of listing each property separately.

Browser Compatibility: IE 3+ / NN 4+

Inherited: No

Values:

Code Example:

body {
   background: url(graphic.jpg) #FFF7B5 30% repeat fixed;
}

Comments: The order of the properties does not matter. Only a space is required between each property; a semicolon is not needed.