CSS Background-color Property

Posted The: 23/04/2008 At: 21:51

Last Edited: 15/08/2008 At: 18:49

The background-color property obviously sets the background-color of a given element.

Possible Values

To understand the many different values for color, Cunsult the Reference entry on Colors

Example:

This example sets the background for the body element, I.E. The intire site.

body {
  background-color: red;
}

Inherited? - NO!

Comments: [0]

© Brugbart Webdesign