Specifies the background color for the element. Specify either a color
name or RGB color code.
Platform Support
IE | Netscape | Mozilla | Opera | Safari |
---|---|---|---|---|
4.0+ | 4.0+ | 1.0+ | 4.0+ | 1.0+ |
Usage
[color | "transparent"]. Example values: Red, #FF0000 (#RRGGBB color code for "red"), etc.
Example
For additional information and a demonstration of the background-color attribute, see the demo page on quirksmode:
http://www.quirksmode.org/css/columns.html#background
Availability
W3C CSS2