Jump to content

[SOLVED] The path for my CSS?


blueman378

Recommended Posts

Hi guys,

 

well i have something like this:

 

WWW

-index.php

--PHOTO

---photo_head.php

---index.php

---IMAGES

----bg.gif

----another.gif

---CSS

----style.css

 

you get the idea.

 

anyway the index.php in WWW loads different pages based on variables,

and if it gets a variable called photo it loads photo_head.php into the head section of the index page

and the second index page into the body of the first.

 

so the photo_head.php contains a link to the style.css with photo/css/style.css

 

but where im getting confused is where do i set the image urls in the css to if i want them to point to the IMAGES directory?

 

cheers

Link to comment
https://forums.phpfreaks.com/topic/147823-solved-the-path-for-my-css/
Share on other sites

HOME >> IMAGES

HOME >> CSS

 

path inside the css, to an image, should be ../images/image.bg

 

in english, you get out of the css folder and enter the images folder

 

oh, and next time please post in the right forum. this is not a question on php ;)

 

 

 

 

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.