Using external stylesheets with includes
Posted: Sun Aug 08, 2010 7:10 am
Hi,
I'm setting up some PHP pages and I'm having a problem where my php include file is not rendering an external stylesheet.
I have ...
index.php in a root folder, this calls on a header area include("topHeader.php");
and I have the directory structure
images, styles and includes
inside the includes folder, I have topHeader.php
When I call the include in index.php, the content shows up fine, but the CSS is not being rendered. Now I have a stylesheet being linked from the index.php page, in the head.
So what am I missing when using css with an include file?
Thanks
I'm setting up some PHP pages and I'm having a problem where my php include file is not rendering an external stylesheet.
I have ...
index.php in a root folder, this calls on a header area include("topHeader.php");
and I have the directory structure
images, styles and includes
inside the includes folder, I have topHeader.php
When I call the include in index.php, the content shows up fine, but the CSS is not being rendered. Now I have a stylesheet being linked from the index.php page, in the head.
So what am I missing when using css with an include file?
Thanks