homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Table Background Images (netscape problem)
please help me

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


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)

I just can't see it


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

Try doing it in a td class instead.


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

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved