javascript TD background
| background | NN n/a IE 4 DOM n/a |
| Read/Write | |
|
Specifies the URL of the background image for the cell. If you set a bgColor to the element as well, the color appears if the image fails to load; otherwise, the image overlays the color. |
|
| Example | |
document.getElementById("myTD").background = "images/watermark.jpg";
|
|
| Value | |
Complete or relative URL to the background image file. |
|
| Default | |
None. |
|
Previous: javascript TD bgColor
Next: javascript TD axis
2036,Nickname,Homepage or email,Comments here,Add comment
