February 11th, 2002, 12:17 PM
cell background image - CSS
Is there a secret to getting a cell background image to show up in Netscape 4.x? It looks fine in IE, but the cell color shows up instead of the image in Netscape.
Here's my CSS code:
February 11th, 2002, 12:49 PM
The code works for me.
Are your TD cells empty? <td></td>
Try using a Non-Breaking Space
Last edited by degsy; February 11th, 2002 at 12:51 PM.
February 11th, 2002, 04:13 PM
My cells aren't empty. I just read that background-image won't work in NS 4.0 in tables. Aargh! Luckily, only about 10% of people who visit the site use Netscape.
February 11th, 2002, 04:24 PM
What version of NS4?
The code worked for me using NS4.7
NS4 does have major restrictions when applying attributes to TD's.
February 11th, 2002, 06:12 PM
I'm trying it in NS 4.75 on the PC. How'd you get it to work? Do you hold the key?
Thanks for your help!
February 11th, 2002, 08:01 PM
February 12th, 2002, 04:23 PM
Thanks! Now I know that it works, but I have to dig through my code and find out what makes it stop working. (Need caffeine...)
Thanks again for taking the time to try out my code!
(later...) I figured out why it wasn't working!!! I was using relative paths in my linked style sheet and IE was looking for the file relative to the CSS file and Netscape was looking for it relative to the html file.
I resolved the issue by including the code related to those images within the HTML file and deleting that CSS code from the style sheet. Does that make sense? Took some detective work, but it's working now!
Thanks again for proving that it was possible!
Last edited by mixmastermidori; February 12th, 2002 at 05:34 PM.