The Watermark Background Image Script doesn't need to be a script, it is just css style applied via javascript. It could be applied using only style (and thereby work even on non-javascript enabled browsers) by putting this style block in the head of the page:
Code:
<style type="text/css">
body {
background:url('notebook.jpg') white center no-repeat fixed;
}
</style>
If you wanted it to be applied to a table instead of the body, give your table an id, say - bgtable:
HTML Code:
<table id="bgtable"><tr><td>Hi</td></tr></table>
Then use the table's id as a selector in the style block:
Code:
<style type="text/css">
#bgtable {
background:url('notebook.jpg') white center no-repeat fixed;
}
</style>
Bookmarks