CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 11th, 2002, 12:17 PM
mixmastermidori mixmastermidori is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 46 mixmastermidori User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via Yahoo to mixmastermidori
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
__________________
Get Results with Vitamins and Minerals!
www.DeadDoctorsDontLie.com

Reply With Quote
  #2  
Old February 11th, 2002, 12:49 PM
degsy degsy is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2001
Posts: 1,882 degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 21 h 19 m 30 sec
Reputation Power: 13
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.

Reply With Quote
  #3  
Old February 11th, 2002, 04:13 PM
mixmastermidori mixmastermidori is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 46 mixmastermidori User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via Yahoo to mixmastermidori
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

Reply With Quote
  #4  
Old February 11th, 2002, 04:24 PM
degsy degsy is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2001
Posts: 1,882 degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 21 h 19 m 30 sec
Reputation Power: 13
What version of NS4?

The code worked for me using NS4.7
NS4 does have major restrictions when applying attributes to TD's.

Reply With Quote
  #5  
Old February 11th, 2002, 06:12 PM
mixmastermidori mixmastermidori is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 46 mixmastermidori User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via Yahoo to mixmastermidori
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

Reply With Quote
  #6  
Old February 11th, 2002, 08:01 PM
degsy degsy is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2001
Posts: 1,882 degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 21 h 19 m 30 sec
Reputation Power: 13

Reply With Quote
  #7  
Old February 12th, 2002, 04:23 PM
mixmastermidori mixmastermidori is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 46 mixmastermidori User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via Yahoo to mixmastermidori
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > cell background image - CSS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway