0.6.4 oddity -- CSS not rendering in Firefox

Hopefully I’m simply missing something stupid here, but I just upgraded
to
0.6.4, and now my stylesheets are not rendering for Firefox. If I view
the
site in IE, or Safari, the site renders properly, but if I use Firefox,
I do
not see a styled site. I have tested on Windows XP, Mac OS X 10.4, and
Ubuntu and in all OSs, Firefox does not render the CSS.

http://www.gogebiclakeshorelodge.com

The stylesheet is definitely there, and you can see it by going to
http://www.gogebiclakeshorelodge.com/styles.css
In fact, if you look at Firebug, you see the full response text of the
stylesheet under the Net > CSS tab, but if you click on CSS >
styles.css,
you only get a generic “There are no rules in this stylesheet.” message.

Also, the apache log seems to be serving the file up just fine:
216.170.233.69 - - [12/Nov/2007:22:04:20 -0800] “GET /styles.css
HTTP/1.1”
200 2910 “http://www.gogebiclakeshorelodge.com/” “Mozilla/5.0 (Windows;
U;
Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9”

Things to note:

  • I upgraded from 0.6.0 to 0.6.4. It has been a while since I worked on
    this project, so I’m not sure if it is exactly the 0.6.4 upgrade that
    has
    caused this. I do know that this worked just fine with 0.6.0.
  • Hosted on Dreamhost
  • I’m fairly knowledgeable about configuring Apache and writing code,
    but am
    fairly new to Rails and Radiant

Thanks,
Josh

Could this be caused by the fact that the CSS is being returned as
content-type text/html instead of text/css? If so, how do I go about
changing that in the Radiant code?

It really seems like that is your problem.

If so: if you’re using the /styles page on Radiant, make sure it is
using the stylesheet layout. And make sure the stylesheet layout has
content-type “text/css”.

You can find the content-type on the “more” link under the name of the
layout, when editing it.

Hope it helps.

Cheers,
Marcelo.

Ok, I’m an idiot…
There is a “content type” setting under the Stylesheets section of
Radiant
and it was blank. As soon as I put “text/css” in there, the CSS started
working in Firefox again.

ugh. time for sleep.
Josh