Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Table Background Images (netscape problem)

please help me



11:23 pm on Jun 28, 2001 (gmt 0)

10+ Year Member


I am pulling my hair out over this problem. Does anyone know how to place a background image into a table (with rows and columns). I can do it no problem so it can be seen in IE using CSS to define the image and then using a class tag into the table. Below is the code that I am using:


in the head:

thetable{ background-color: #FFFFFF; background-image: url(images/theimage.gif); background-repeat: no-repeat}

in the body:

<table width="750" border="0" cellspacing="0" cellpadding="0" align="center" class="thetable">


But in NS the image only shows in the first cell of the table.

I would be indebted to anyone that provide the solution.

Regards, Stavs


12:11 am on Jun 29, 2001 (gmt 0)

10+ Year Member

I just can't see it


1:33 am on Jun 29, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Try doing it in a td class instead.


2:25 am on Jun 29, 2001 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Here's another solution that seems to be very cross-browser compatible:

The idea is to nest tables the higher level table holds the background image in one big cell, and the nested table, with the content in many cells, includes the code background="".

That last bit stops the Netscape 4.x quirks. I've been greatful to this tip ever since I found it.


Featured Threads

Hot Threads This Week

Hot Threads This Month