javascript TR bgColor
@July 1, 2009, 4:27 a.m.
bgColor | Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1 |
|
Read/Write |
Specifies the background color of the table cells in the current row. 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("myTR").bgColor = "yellow"; |
|
Value | |
Default | |
Varies with browser and operating system. |
Permanent URL:
http://javascript.gakaa.com/tr-bgcolor.aspx
Powered by Linode.