Jump to content


This topic is now archived and is closed to further replies.


include HTML/CSS into PHP

Recommended Posts



I'm pretty new to CSS but less new to PHP.


I've simply built a HTML page using a CSS (one of the dreamweaver MX samples!) and it works fine when I call it direct but not when I call it using an include statement inside PHP5.


I've added the path to the CSS files inside the PHP but this does not seem to do the trick...


Is there anything else I shoudl know or try?


Any help much appreciated!





Share this post

Link to post
Share on other sites

right: show us the code!!! lol. but, you may need to make sure that you are not trying to include a file with doctype and header information inside the body of another HTML page.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.