I'm still not entirely sure what you're asking. However, remember that the thing requesting the stylesheet is the user's browser, so it will interpret all links relative to the file currently being viewed (ie the one in the address bar).
So, assuming the file is "www.domain.com/index.php", the link should look like:
<link href="/includes/whatever.css" rel="stylesheet" type="text/css">
If it's being included from other directories you could probably use something involving $_SERVER['SERVER_NAME'] to make the link an absolute one (and hence usable from anywhere).
Hope that helps, and I've vaguely understood you!
__________________
I can't understand why people are frightened of new ideas. I'm frightened of the old ones. -- John Cage (1912 - 1992)
Last edited by cliche; 10-20-2003 at 01:51 PM..
|