Bug Fix: My CSS (cascading style sheets) show up and function in IE but not in Firefox or Opera, How can I fix this.
Resolution: this bug occurs because of a missing mime type in the mime.types file on the web server, if you validate your CSS you will come up with this error:
I/O Error: Unknown mime type : text/plain
These are the following steps will fix this:
1. navigate to the directory /www/conf
2. vi or pico the mime.type file
3. add this line: text/css css
4. restart the web server
note: there is another file in the /etc directory , changing this one will not solve this issue.
PS: if you dont have access to the /www/conf/mime.type file , please contact your CI Host tech support or you can take matters in your own hands by adding a .htaccess file in the directory that has your CSS files. these are the following steps:
1. vi or pico .htaccess
2. add this line:
AddType text/css .css
3. save , clear web browser cache and restart, the view the webpage again