javascript TBODY bgColor
@March 15, 2008, 1:22 a.m.
bgColor | Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM n/a |
Read/Write | |
Specifies the background color of the cells contained by the tbody, tfoot, or thead element. This color setting is not reflected in the style sheet backgroundColor property. Even if the bgcolor attribute or bgColor property is set with a plain-language color name, the returned value is always a hexadecimal triplet. |
|
Example | |
document.getElementById("myTable").tHead.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. |
Permanent URL:
http://javascript.gakaa.com/tbody-bgcolor.aspx
Powered by Linode.