Firefox not loading PHP stylesheet
Quick tip:
If you're going to create a dynamic CSS stylesheet using PHP (e.g. style.php instead of style.css), make sure you spit out a "content-type" header at the top of the stylesheet or Firefox will choke and not load it.
Put this at the top of the page:
<?php header("Content-type: text/css"); ?>
If you're going to create a dynamic CSS stylesheet using PHP (e.g. style.php instead of style.css), make sure you spit out a "content-type" header at the top of the stylesheet or Firefox will choke and not load it.
Put this at the top of the page:
<?php header("Content-type: text/css"); ?>
