Link to home
Start Free TrialLog in
Avatar of guadalupe
guadalupe

asked on

Netscape and table backgrounds

Ok either I´m an idiot or something is wrong but for the life of me I can't get a table to use a graphic background. Either it just isn't there or if it is the cells which contain anything erase the background for that cell!!!!!!!
Of course MS IE works perfectly (I hate that, I prefered NS but now not so much as nearly everything works or is easier in IE.  Anyway can anyone help? Josh?

Thanks
Avatar of chrisbolt
chrisbolt

Netscape only supports table backgrounds in versions 4.0 and higher. What version of Netscape are you using?
ASKER CERTIFIED SOLUTION
Avatar of jbirk
jbirk

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of guadalupe

ASKER

Ok I knew that about NS but I´m viewing this in NS 4.05 and 4.06 and neither one will behave.  The page is at http://www.amcintl.com/Technology/tecnologia2.htm.  A cloud graphic should appear one the right side of the visible table.  If you check it in MS its there but not in NS 4.X.  (PS I know there are some broken image links on the left side but these are of no concern!)

Thanks !!!!!
OK, this problem is wierd.  Anyway,netscape IS actually displaying your image.  The problem is that netscape starts its tyling of the background image over for every cell.  And you image has a large section of white at the top.  So all that's getting shown is the white part at the top of the image! :(  I tried to nest an extra table around that table with the background image so that it would hopefully not be retiled like it was, and again to no avail.  Same problem.  So I tried moving the background to the td cell which holds the nested table, and again same problem only this time it showed the image ok in the small amount of space to the right and underneath the nested table.  Well, anyway, the solution is to not use your nested table.  All you have in it is a bunch of images which are stacked on top of each and that can easily be achieved with a simple <BR> between each one.
Sooooo changing the second half of your main table (the right cell) to:
    <td background="Clouds2.gif" valign="TOP" width="65%" height="449">
<img src="blank_text.gif" width="300" height="40" name="text1">
<br><img src="blank_text.gif" width="300" height="40" name="text2">
<br><img src="blank_text.gif" width="300" height="40" name="text3">
<br><img src="blank_text.gif" width="300" height="40" name="text4">
<br><img src="blank_text.gif" width="300" height="40" name="text5">
<br><img src="blank_text.gif" width="300" height="40" name="text6">
<br><img src="blank_text.gif" width="300" height="40" name="text7">
    </td>

Will solve your problem.  AND it works in both 4.x browsers.

I wish netscape would have implemented this a little more intelligently...  oh well.

Best of luck!
Josh
Josh Thanks!!!!  Your my idol.  I was feeling pretty stupid there for a while.  I thought, "I've been asking all these deep perl, java, dhtml questions and <i can't make a simple table work."  Well I feel a little less stupid though I must repeat my loyalty to NS is quickly dissapearing.   Thanks again!

-Jason