Jump to content

PHP/CSS image help


nlandgraf

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.