- Aug 15, 2000
- 52,763
- 1
- 0
In the main domain directory, I've got a .CSS file, a header, and a footer. I'm using php. The index page requires the header once, has the information for the index, and then requires the footer once. The .css file is "linked" at the top of the header. The site functions normally and looks perfect.
If I create directory1 under the main domain directory (domain.tld/directory1) and require the header and footer in the index just like I did with the index of the main webserver directory, the .css doesn't load. The links are the wrong color, text is the wrong size, etc.

What am I missing? Since I'm calling the header which calls the .css, should I effectively be calling the .css as well?
If I create directory1 under the main domain directory (domain.tld/directory1) and require the header and footer in the index just like I did with the index of the main webserver directory, the .css doesn't load. The links are the wrong color, text is the wrong size, etc.
What am I missing? Since I'm calling the header which calls the .css, should I effectively be calling the .css as well?