Welcome Guest, Not a member yet? Register   Sign In
images in CSS not loading
#1

[eluser]Filip_vh[/eluser]
Hi!

So I've got my first code igniter site up and running (hooray). and now I'm starting on a second one. On the first one I just put colours in my CSS file.

now in this second one I'm trying to link an image as a background. The image however can't be found?



I've tried everything but it just WON'T load the CSS files.

I've put the images in the same location like i did with the other site.

Code:
#page .bgbtm {
    background: url(images/img05.jpg) no-repeat left bottom;
}

map structure:

/
|-images
|-system
|-file.css

the thing is. When the site is loaded, www.mysite.com, it loads all the images perfectly.
from the moment a controller and action is added to the url, www.mysite.com/index.php/home/index, no image is loaded at all. It's like it can't find the CSS file anymore all of a sudden. Yet it should be the same like the previous site?

any idea why it's not working?

my guess would be that it's trying to load the images from
www.mysite.com/index.php/home/index while the image is located at www.mysite.com/images/

so... anybody any idea's??


Messages In This Thread
images in CSS not loading - by El Forum - 09-02-2008, 12:14 PM
images in CSS not loading - by El Forum - 09-02-2008, 12:17 PM
images in CSS not loading - by El Forum - 09-02-2008, 12:31 PM
images in CSS not loading - by El Forum - 09-02-2008, 12:33 PM
images in CSS not loading - by El Forum - 09-02-2008, 12:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB