Title: CSS and Mozilla
Last modified: August 18, 2016

---

# CSS and Mozilla

 *  [paulzag](https://wordpress.org/support/users/paulzag/)
 * (@paulzag)
 * [22 years, 9 months ago](https://wordpress.org/support/topic/css-and-mozilla/)
 * I have a problem with CSS and mozilla that I don’t think is strictly WordPresses
   problem. I suspect it is something to do with mime.types but I’ve updated the
   apache entry to make css files text/css.
    If I embedd the style like this [http://www.wealthesteem.org/nested-float.php](http://www.wealthesteem.org/nested-float.php)
   then it appears fine. See [http://www.wealthesteem.org](http://www.wealthesteem.org)
   for the normal problems. IE does not have the problem (because it is barely standards
   aware!) This is so far a problem only with Mozilla (and gecko) browsers. If you
   have any suggestions I’d appreciate them. Regards Paulzag

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Dougal Campbell](https://wordpress.org/support/users/dougal/)
 * (@dougal)
 * [22 years, 9 months ago](https://wordpress.org/support/topic/css-and-mozilla/#post-23869)
 * Your web server is serving up your CSS file as MIME type ‘text/plain’ instead
   of ‘text/css’.
    Try creating an ‘.htaccess’ file with this line in it: `AddType
   text/css .css`
 *  Anonymous
 * [22 years, 9 months ago](https://wordpress.org/support/topic/css-and-mozilla/#post-23870)
 * Thanks dougal. At 4am local time NOTHING was working. This morning I removed 
   and re-applied my httpd.conf changes it suddenly started working after 30 mins.
   
   I even tried the .htaccess file and it didn’t “take” last night either. For people
   searching the forum in the future (I wont be the last), dougal correctly identified
   the problem. Browsing directly to the css file in Mozilla and looking at Page
   Info (Ctrl+I) shows the type. Fixes: 1) If you control your server [http://apache-server.com/Podium/show.php?p=apache-howitworks&slide=10](http://apache-server.com/Podium/show.php?p=apache-howitworks&slide=10)
   2a) If you don’t controll your server, tell your server admins to configure css
   files as type text/css 2b) Until your admins do that use dougal’s .htaccess workaround
 *  [DianeV](https://wordpress.org/support/users/dianev/)
 * (@dianev)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/css-and-mozilla/#post-24299)
 * I just solved the same issue with Gecko-based browsers not displaying CSS styles
   in XHTML files: [http://wordpress.org/support/3/11412](http://wordpress.org/support/3/11412)
   
   On our virtual private server, the MIME types are controlled by a file called
   mime.types, which is in the same directory as the httpd.conf file. Found the 
   precise coding here: [http://archivist.incutio.com/viewlist/css-discuss/20920](http://archivist.incutio.com/viewlist/css-discuss/20920)
   Add this to the mime.types file: text/css css then restart apache. Presto, fixed.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘CSS and Mozilla’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 4 participants
 * Last reply from: [DianeV](https://wordpress.org/support/users/dianev/)
 * Last activity: [21 years, 9 months ago](https://wordpress.org/support/topic/css-and-mozilla/#post-24299)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
