I have two folders in my website...
Folder1 (this is where my #include file is, this is where the style.css is)
--Folder2
(Folder2 is inside of Folder1)
Folder2 contains a file that has this #include statement...
<!--#include file="../include.inc"-->
....obviously the include.inc file is not in the same folder as the HTML
file.
The problem is, that the include.inc also contains this CSS statment...
<link rel="stylesheet" type="text/css" href="style.css" />
....And obviously the path does not have "../" in front of it which means it
is looking inside of
Folder2 for the style.css file. And it doesn't exist there. It is only in
Folder1.
I realize I could solve the problem by putting using the full path like
this...
<link rel="stylesheet" type="text/css" href="/project1/Folder1/style.css" />
....but that would mean that this whole site would have to be in a specific
folder
in order to be run properly. This is unacceptable for this particular
project.
I could also solve the problem by making a duplicate copy of the style.css
file
and putting it in the Folder2 folder, however, I don't want the extra
maintenance
hastle of having to remember that when I change one of the style.css files I
have
to also change the other.
Any other suggestions!?? Help!!?