Javascript Reference
Categories: document

javascript document bgColor

@March 15, 2008, 1:22 a.m.
bgColor Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM n/a

Read/Write

Provides the background color of the document. Even if the bgcolor attribute or bgColor property is set with a plain-language color name, the returned value is always a hexadecimal triplet.

 

Setting the bgColor property of a document in Navigator 2 or 3 for Macintosh or Unix does not properly redraw the window. Window content is obscured by the new color on those platforms. For browsers that support the document.body object, use the bgColor property of that object instead.

 
Example
 
document.bgColor = "yellow";
 
Value

A hexadecimal triplet or plain-language color name. See Appendix A for acceptable plain-language color names.

 
Default

Varies with browser and operating system.

I noticed that it's hard to find your site in google, i found it on 15th spot, you should build some quality backlinks to rank it in google and increase traffic. I had the same problem with my site, your should search in google for - k2 seo services - it helped me a lot
MichaellA - 2014-03-26

Powered by Linode.