CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
strange issue
cybershot
Permalink to comment
#
December 2009
I made a site. Looks great on my p.c. I upload everything to the web and more than half the images are gone. if I view it in my browser, all is fine, go to the web to view and all in not fine. anyone got any ideas? all the paths are correct
TheDoc
Permalink to comment
#
December 2009
Linky link there Cybershot?
It simply sounds like the paths aren't correct. Are these images that you're calling from the CSS file, or in the HTML?
cybershot
Permalink to comment
#
December 2009
they are all in the css file. background images. The css file is in a folder called styles, linked to the index.
then called like this
background: url(../images/myimage.png);
looks fine on my computer
box
Permalink to comment
#
December 2009
Post a link to the live website that you're having the trouble with.
cybershot
Permalink to comment
#
December 2009
it's not live yet, to much work going on to post a link
box
Permalink to comment
#
December 2009
"cybershot" said:
...I upload everything to the web ...
That pretty much makes it live ;)
Add a Comment
It simply sounds like the paths aren't correct. Are these images that you're calling from the CSS file, or in the HTML?
then called like this
background: url(../images/myimage.png);
looks fine on my computer
That pretty much makes it live ;)