How would I go about using PHP as a CSS file. I have just included it as a normal css file, but it fails to work in Google Chrome.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have to tell the browser that it is a CSS-file and not a HTML-file, write the following before any output:
See:
http://www.barelyfitz.com/projects/csscolor/