TOC PREV NEXT INDEX

Put your logo here!


bgColor


bgColor gets/sets the background color of the current document.

Syntax

color = document.bgColor 
document.bgColor = color 

Parameters

color is a string representing the color as a word (e.g., "red') or as an octal value, as in HTML (e.g., "#eee")

Example

document.bgColor = "darkblue"; 

Notes

None.

Specification

DOM Level 0. Not part of specification.


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX