Hi,
i would like to have a CSS file that i could use for several PHP pages located into several folder.
however, as the depth of each php page could be different, i would like to know if it is possible to have a conditional CSS content ?
for example i have the following php pages :
[url]www.mywebsite.com/index.php
[url]www.mywebsite.com/company/aboutcompany.php
something like :
index.php
/company/aboutcompany.php
/css/mycssfile.css
/images/img1.gif
/images/img2.gif
if my css file has some images like background-image features.
how is it possible to make those images displayed correctly on both php page ?
for now, due to php page “folder depth” only one works.
something like
#myidtag
{
background-image : url(images/img1.gif);
}
will work perfectly for index.php but not for aboutcompany.php 🙁
thanks for help.
M