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 November 6th, 2003, 10:38 AM
raar430 raar430 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: West Chester
Posts: 1 raar430 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Cool CSS Background-Image Problem

I am trying to add a background-image tag to my external stylesheet, but the image is not showing up. I tryed just simply embeding the background-image tag into the html page and it worked. I know the external stylesheet is working, because when I changed it, the styles changed. Thanks to anyone that can offer advice!

Reply With Quote
  #2  
Old November 6th, 2003, 11:32 AM
TimvanSas TimvanSas is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Netherlands
Posts: 43 TimvanSas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 43 sec
Reputation Power: 5
Make sure that you link to the right folder.
Maybe you have your stylesheet in the a folder called includes (includes/stylesheets/css.css).

That means that you need to 'link' proper.

For example your stylesheet.

Code:
background: #fff url("../../images/yourbg.jpg") no-repeat


Maybe this will solve your problem.
Good luck.


Tim

Reply With Quote
  #3  
Old December 2nd, 2003, 08:47 PM
Dirty D Dirty D is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 5 Dirty D User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
also, if youre using a mac, you may have to add an additional styletag line:

background-image: url('image.jpg') no-repeat top left;

same thing was happening to me, i added that line, for some reason Macs OS 9.x and i believe OSX too read "background-image" and pcs read "background". each ignores the other so you can have both, but its repetetive to have to type both.

maybe this helps.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS Background-Image Problem


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 3 hosted by Hostway