View Full Version : HTML Table Backgrounds

09-23-2002, 08:47 PM
I had a question about adding backgrounds to tables and table cells. Is it possible to add a background in either one of these instances and not have it repeat if the table is bigger than the picture? And then if so, how can I do this and make it center in the table or cell that I am inserting it into. I am mainly curious for IE browsers, but if others allow it as well, please let me know. Thanks very much!


09-24-2002, 12:16 AM
td { /* Or whichever selector you chose */
background-image: url(images/bg.gif); /* Or some valid URI */
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;