background-color

Support Key: [CSS1|CSS2|CSS2.1] [IE4B1|N4B2|O3.5|S1]
Other Color/Background Properties
color
layer-background-color
layer-background-color
background
background-image
background-repeat
background-attachment
background-position
background-position-x
background-position-y
= Index DOT Css by Brian Wilson =
  Main Index | Property Index | CSS Support History | Browser History  



   Quick Statistics   
Default Value:
   transparent
Applicable Elements:
All
Inherit From Parent:
No
Applicable Media:
Visual
HTML Equivalent:
<body|table|thead|tbody|tfoot|th|td BGCOLOR="#RRGGBB">
Official Docs:
CSS1: Sect. 5.3.2
CSS2: Sect. 14.2.1, CSS2.1: Sect 14.2.1
What is it?
This value sets the background color for the current element. A 'background-color' can be specified either alone or in conjunction with a 'background-image'. When used with a background image, it can still serve several purposes: 1) to fill transparent regions of the background image, 2) for display while the background image is loading, 3) the browser has image loading capability turned off, and 4) if the background image display settings will not cover all of the browser display area. All the standard Color Units specification methods apply here.

Allowed Values
inherit
[CSS2|CSS2.1] [N6|O4|S1]
Type: Explicit
Description:
Explicitly sets the value of this property to that of the parent.
[color]
[CSS1|CSS2|CSS2.1] [IE4B1|N4B2|O3.5|S1]
Type: Explicit
Description:
This is a representation of the values for Red/Green/Blue used to determine a final display color. Please see the section on Color Units for details on the various color specification schemes.
transparent
[CSS1|CSS2|CSS2.1] [IE4B1|N4B2|O3.5|S1]
Type: Explicit
Description:
This specifies that the parent element background/image will shine through if one exists, else the system default background/image value is used.
Example
Ext/Doc: body { background-color: blue }
In-Line:  <body STYLE="background-color: blue">text</body>
Browser Peculiarities

Boring Copyright Stuff....