Problem is about CakePhp. If I give permission to required directories CSS does not work. Sample URL: link text
Isn’t this weird?
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.
It works in IE: It’s a Firefox specific problem.
Your CSS file is not outputting the
Content-type: text/cssheader, which makes Firefox ignore it as a style sheet. You will notice a warning to that effect in Firefox’s error console.I don’t know Cake, but I’m sure there is a native way to remedy this.
A quick fix would be adding
to the top of
cake.generic.css(if that is a PHP file).If it’s a real CSS file and not a rewritten URL (as I said, I don’t know Cake), your web server doesn’t seem to be taking care of sending the right content type – maybe something for the admin to fix.
If the admin can’t fix it, you could try adding a
.htaccessfile to your project (or editing the existing one) containing