Netscape problems

They have: 58 posts

Joined: May 2001

I am having some problems with Netscape messing up the background images on my table cells.

Any ideas?

http://www.newwaveis.com/tony/project3/main.htm

(none of the links work yet)

Thank You

They have: 58 posts

Joined: May 2001

The problem is in Netscape 4.7. Everything works in IE.

Enigmatic's picture

They have: 44 posts

Joined: Oct 2001

Hi there,

Netscape (6.1) does not accept empty cells, even if you have bg pic set. Additionally to this sell, you should insert the transparent 1x1 pic with the width/hight (one of those is usually enough) set to reflect the size of the cell.

Try that and see what you get.

Best,

Enigmatic

EvenHost.com <- Professional and Affordable Web Hosting Solutions

Busy's picture

He has: 6,151 posts

Joined: May 2001

I didnt go see the site but by Enigmatic reply, i guessed, another way than using the transparent gif is just using "&nbsp;" which is a blank space (without the quotes)

and if its a small cell you can use the font tag around it, say verdana at -2

They have: 58 posts

Joined: May 2001

I have tried putting in a transparent pic, but that didn't work out. I then tried out the   but that didn't work either. Do you know what else it could be? I havn't looked at the site through Netscape 6.1 yet. The school that I am doing this for is running Netscape 4.7 on almost all of the computers, so I have to have it running on 4.7. I will probably just change the design if that will save me on some of the headache.

Zimbabwe

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Netscape 4.x likes to carry over the background from the holder table into the nested tables. It's evil that way.

carterjackson.com/index/celtic.html may have some tips that will help (it's been awhile since I've tried to make nested table backgrounds work, and I'm not really here -- I'm on mat leave and not supposed to be thinking of these things, but I'm addicted), and will possibly give pointers, if not.

background="none" I think was one solution, another to use both the bgcolor="#hexhex" and background="specificimage.gif" for every cell or nested table. Another was only to have the backgrounds in the cells themselves (NOT the table element), and to make sure there are enough characters in the cell to hold it open and/or a non-breaking space to show the background in the first place.

I hope that helps some, if not, I'll stop by tomorrow and look at the code and see if I can see what the issue is.

Smiling Suzanne

Busy's picture

He has: 6,151 posts

Joined: May 2001

I just had a look, (sorry forgot to check back), I downloaded the page and top 3 graphics, add the &nbsp; to the table cell and it worked, here the top part of the table, so you can see I only added the space tag

<?php
<table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">
  <tr>
    <td background=\"topmid.gif\" colspan=\"2\" height=\"38\" style=\"background-repeat:repeat-x\"><img src=\"mainhead.gif\" width=\"342\" height=\"87\"></td>
    <td background=\"topmid.gif\" colspan=\"2\" height=\"38\" style=\"background-repeat:repeat-x\">&nbsp;</td>
    <td width=\"16%\" height=\"38\">
      <div align=\"left\"><img src=\"rightcorner.gif\" width=\"98\" height=\"87\"></div>
    </td>
  </tr>
?>

I noticed you are also using div align= .., you can just as well use align= in the td (or tr) tags

Had to use PHP, as CODE wasnt showing half the tags, also noticed afterwards your td and images heights are different, it hasnt affected your layout but two sizes can confuse the browser and also give you table problems,

useless imformation - using width and heights tags in both image and td cells can cause spaces in small cells, if you have alignment problems check your quotes first, then missing tags etc then if all else ails remove the width and height tags from the td cell.

They have: 58 posts

Joined: May 2001

Thanks, that worked! I tried it before, but it didn't change anything, so I took it out. I was probably just being stupid and not hitting Ctrl-F5 to refresh instead of grabbing from the cached files.

Thanks again,

Zimbabwe

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.