The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's Style Sheets Reference

| Index | Current Category: Backgrounds |
| Previous Style: include-source | Next Style: layer-background-image |


layer-background-color

Sets the background color of a layer.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported Not supported 4.0 and later
Notes: Possible Values:
[color]
The color of the background.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported 3.0 and later 4.0 and later

Notes:
  • Use either six-digit RRGGBB color code (preceded by #) or a color name from the X11 Color Set.

transparent
No color is applied to the background.

Support:

W3C StandardInternet ExplorerNetscape Navigator
Not supported Not supported 4.0 and later

Example:
<LAYER STYLE="layer-background-color: Red">

| Index | Current Category: Backgrounds |
| Previous Style: include-source | Next Style: layer-background-image |