QUOTE (TweezerMan @ Jul 6 2004, 10:37 AM)
It looks like you got the problem figured out now, but I'll just add this note about the other two sites you thought were displaying their stylesheets correctly:
QUOTE
For instance "actonbbq.com" and "susette.com" are on the same server and their css files are recognized.
Mozilla Firefox displayed the stylesheet for those sites, but it still didn't like them:
QUOTE
Warning: The stylesheet
http://actonbbq.com/stylesheet.css was loaded as CSS even though its MIME type, "text/html", is not "text/css".
QUOTE
Warning: The stylesheet
http://susette.com/styles.css was loaded as CSS even though its MIME type, "text/html", is not "text/css".
All three sites now appear to be displaying the stylesheets correctly in Mozilla Firefox with no errors reported.
Dave,
Your observation led me to the solution. I have a DefaultType declaration that allows me to stuff PHP code anywhere I like. The downside is it tries to evaluate everything it finds as PHP that is not in my exclude list.
It really wasn't that the mime type wasn't declared properly, but that Apache thought it was PHP (which defaults to HTML after evaluation).
The puzzling part was the messages on the other sites that said that the css file
was loaded even though it was type "text/html". It was also what led me to the solution.
I added "css|CSS" to the list and restarted the web server. Your help was greatly appreciated!