1) Script Title: Watermark Background Image Script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex3/fixback.htm
3) Describe problem:
I changed the script to a css:
I need it to work inside a table that I have:Code:<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <style type="text/css"> #bgtable { background:url('../images/header.jpg') white center no-repeat fixed; } </style> </head>
I get the header.jpg image in the table, but it doesn't float like in the example on the watermark script page. The image I have is stationary in the exact center of the table and as it is a "tall" table I need to scroll to see more of the table, but the header.jpg is fixed in the center and moves up and down with the scroll.Code:<body bgcolor="#FFFFFF"> <div align="center"> <table id = "bgtable" border="0" cellspacing="0" width="700" bgcolor="#FFFFFF"> <tr> <td align=center colspan="2" width="100%"><p> <br> </p></td> </tr> ...much more table code... </table> </div> </body> </html>
How can I make the image float like in the watermark script example?
Thanks!



Reply With Quote

Bookmarks