javascript TABLE background

backgroundNN n/a IE 4 DOM n/a  

Read/Write  

Provides the URL of the background image for the table. If you set a backgroundColor to the element as well, the color appears if the image fails to load; otherwise, the image overlays the color.

 
Example
 
document.getElementById("myTable").background = "images/watermark.jpg";
 
Value

Complete or relative URL to the background image file.

 
Default

None.


1981,Nickname,Homepage or email,Comments here,Add comment