Name
BGCOLOR — NN 4 IE n/a HTML n/a
Synopsis
BGCOLOR=”colorTripletOrName"
Optional
Establishes a fill color (behind the text and other content) for the
entire layer rectangle. If you combine a BGCOLOR
and BACKGROUND
, any transparent areas of the
background image let the background color show through.
Example
<LAYER BGCOLOR="yellow" SRC="instrux.html" WIDTH=200 HEIGHT=300></LAYER>
Value
A hexadecimal triplet or plain-language color name. A setting of
empty is interpreted as "#000000"
(black). See
Appendix A for acceptable plain-language color names.
Default
Varies with operating system.
Object Model Reference
- NN
[window.]document.layerName.bgColor
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.