v1.22 CSS working on IE7, but only partly on Firefox

5 posts by 2 authors in: Forums > CMS Builder
Last Post: August 29, 2008   (RSS)

Re: [dougdrury] v1.22 CSS working on IE7, but only partly on Firefox

By Dave - August 29, 2008

Hi Doug,

It's a server configuration problem. Here's how to demonstrate the problem in Firefox 3

- In FF3 click: Tools > Error Console
- Clear clear on the error console to erase old messages
- Reload the login page url
- You'll see the following error in the error console:

Error: The stylesheet http://www.crossroadsfremont.org/2008/cmsAdmin/css/thickbox.css was not loaded because its MIME type, "text/plain", is not "text/css".
Source File: http://www.crossroadsfremont.org/2008/cmsAdmin/admin.php

Just forward that to your web host and ask them to fix the mime type for .css to be "text/css" instead of "text/plain". Then try again and it should work.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] v1.22 CSS working on IE7, but only partly on Firefox

By dougdrury - August 29, 2008

Thanks Dave! I will test this with the hosting provider.

Re: [dougdrury] v1.22 CSS working on IE7, but only partly on Firefox

By dougdrury - August 29, 2008

I was able to fix this by going into the .htaccess file and adding:
AddType text/css css

I also edited the mime.types file in the Apache config area.

That fixed it!

Thanks for the help!

Doug

Re: [dougdrury] v1.22 CSS working on IE7, but only partly on Firefox

By Dave - August 29, 2008

Thanks for posting back. I've seen this once or twice before. I'll try adding it to the .htaccess that ships with CMS Builder for the next version.
Dave Edis - Senior Developer
interactivetools.com