blueman378 Posted March 3, 2009 Share Posted March 3, 2009 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 More sharing options...
ricmetal Posted March 3, 2009 Share Posted March 3, 2009 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 Link to comment https://forums.phpfreaks.com/topic/147823-solved-the-path-for-my-css/#findComment-775888 Share on other sites More sharing options...
blueman378 Posted March 4, 2009 Author Share Posted March 4, 2009 XD cheers mate, although i posted here because it is semi php related as i got confused as to what the path should be because of it being included. Link to comment https://forums.phpfreaks.com/topic/147823-solved-the-path-for-my-css/#findComment-776118 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.