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 March 11th, 2004, 09:17 AM
gurtle gurtle is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 2 gurtle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
CSS issues Mozilla firebird

hello

I'm having a problem loading a background image using CSS.
The code works fine in IE6 but in Mozilla Firebird and Opera 7 it doesn't display the images at all.

All other styles are applied properly but those background images just don't show (in firebird and opera).

I am linking the external stylesheet using this code:

<link rel="stylesheet" href="/test/includes/style.css" type="text/css" media="all" />

so that's an absolute URL to the CSS file. In this file I create the selector like this:

#nav a
{
background: transparent url(/test/images/bl_curve.gif) bottom left fixed no-repeat;
}

so that's using an absolute URL for the image.

The entire page is valid XHTML and CSS, as confirmed by the W3C validators.

Any ideas?

Pat

Last edited by gurtle : March 11th, 2004 at 09:31 AM. Reason: mis-typed the paths the first time

Reply With Quote
  #2  
Old March 11th, 2004, 09:22 AM
paularms paularms is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 6 paularms User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
you should change that from background:... to background-image:

Reply With Quote
  #3  
Old March 11th, 2004, 09:32 AM
gurtle gurtle is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 2 gurtle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by paularms
you should change that from background:... to background-image:



but i'm setting the background color too.
i believe what i've used is the correct "shorthand" syntax for doing both at the same time

Reply With Quote
  #4  
Old March 11th, 2004, 03:30 PM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,554 kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 7 h 24 m 10 sec
Reputation Power: 607
I wasn't able to replicate the error—but I couldn't use your path, and I don't know your directory structure. I don't see anything that would cause the error, but if I were betting, I'd say there is something. Moz and Opera are more likely to be correct than IE (especially since both render differently than IE). For a test, move the image as needed to use a relative path.

cheers,

gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

Ask a better question, get a better answer.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS issues Mozilla firebird


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