nlandgraf Posted August 12, 2009 Share Posted August 12, 2009 I changed an image used at the bottom of my webpage and it is not showing up on the website. All I did is change the file name as both files are located in the same folder. This is how the code shows up in the .css file. background-image: url(../images/footer_bg.png); Link to comment https://forums.phpfreaks.com/topic/169851-phpcss-image-help/ Share on other sites More sharing options...
smerny Posted August 12, 2009 Share Posted August 12, 2009 are you sure you have the name as well as the file type correct? Link to comment https://forums.phpfreaks.com/topic/169851-phpcss-image-help/#findComment-896084 Share on other sites More sharing options...
BLaZuRE Posted August 12, 2009 Share Posted August 12, 2009 The way you have it set up right now is: Go up one folder from wherever your file is. Go to the images folder. Go to the file footer_bg.png So, if your paths are one/two/three.css You'd go to folder two Go into folder images, where you'll find your image (two/images/footer_bg.png) Try installing the Web Developer Add-on for Firefox. It'll help you with stuff like that, like broken links and it'll show you where your image is pointing to. Also, make sure your webpage is pointing to your css file correctly (you can check by seeing if your other CSS works). If your file is in two/index.php, you can do images/footer_bg.png Link to comment https://forums.phpfreaks.com/topic/169851-phpcss-image-help/#findComment-896102 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.