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

Background Problem

 2:10 pm on Mar 26, 2001 (gmt 0)

This will teach me to test more thoroughly...

It has been brought to my attention that a site of mine has problems when viewed in Netscape.

Most of the problems have been sorted out, but the one I cannot solve is regarding the background to a table. I have set within the <table> tag a background="images/blahblah.jpg".

Netscape appears to be trying to show a new background image in each individual cell of my table, and splitting it up all over the place, instead of showing the one image across the whole table.

I have checked some threads on webmasterworld and can only find reference to a similar problem when a nested table is present. But I have no nested table.

Where have I gone wrong?



 2:17 pm on Mar 26, 2001 (gmt 0)

There could be alot of things going on. One place to start is if it is a table within a table? If the image is in the outer table, try adding background="" to the inner table. Also, specifically insert a bgcolor="" into every table declaration.


 9:21 am on Mar 27, 2001 (gmt 0)

Brett, thanks for your reply...

do you mean to insert the bgcolor="" in to each <table> tag or every <td> tag?

I have inserted in to the <table> tags and tried the background="" in the inner table, but this hasn't made any difference.


 9:42 am on Mar 27, 2001 (gmt 0)

I had this exact problem ages ago and the way i got a round it was to use a transparent GIF in the cells that repeat the small portion of the image.

Im sure there is probbably a much better method of doing it but if all else fails....


 4:41 pm on Mar 27, 2001 (gmt 0)

I've found that background="null" for the inner table works pretty well in getting around this Netscape problem.

I would also mention one more challenge: lots of browsers don't do well with a JPG background images for a table or table cell. They tend to get the size of the image wrong -- like making it twice as big - a nasty surprise.

If you can convert the background image to a GIF, things may be smoother.

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