|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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: TD.bkgrnd2 { background-color: #999999; background-image: url(../comp13_images/blue3.jpg); background-repeat: no-repeat; padding: 5px; } Thanks! -Midori |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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.
Thanks, Midori |
|
#4
|
|||
|
|||
|
What version of NS4?
The code worked for me using NS4.7 ![]() NS4 does have major restrictions when applying attributes to TD's. |
|
#5
|
|||
|
|||
|
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! -Midori |
|
#6
|
|||
|
|||
|
Example image:
http://www.degs.co.uk/test/devshed/ns4_td_css.jpg |
|
#7
|
|||
|
|||
|
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! -Midori (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. |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > cell background image - CSS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|