My project is deployed on IIS 7.5 and when trying to access it from a different machine using Firefox, all files are rendered except for the CSS files (although they work fine in IE).
I have checked that the MIME type for .css files is correctly set up in my IIS settings after looking through other posts.
The way I include my CSS file in the head section is as follows:
@Html.CssInclude("jquery.ui.core.css")
In the response header, I see that it's showing -
Content-Type text/html; charset=utf-8
Similarly, I include my JavaScript files like this:
@Html.ScriptInclude("jquery-1.7.min.js")
However, in the response headers, I am getting
Content-Type application/x-javascript
I'm not sure why there is differing behavior for CSS files. Can someone please help me understand this issue?