| | |
FireFox not showing CSS in Strict Mode
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: May 2007
Posts: 10
Reputation:
Solved Threads: 0
Moving a site over from transitional to strict doctype.
And Firefox is not displaying the CSS.
I have spent hours trying to solve it, without any luck.
I usually do build for FF first and IE last, but it was always transitional, because I was more forgiving when doing complex design.
I have googled just about everything I can think of related to it.
And I am stuck.
It has got to a minor detail I have overlooked... I probably have just been staring at it for too long.
You can view it here
Can anyone pls help me out?
And Firefox is not displaying the CSS.
I have spent hours trying to solve it, without any luck.
I usually do build for FF first and IE last, but it was always transitional, because I was more forgiving when doing complex design.
I have googled just about everything I can think of related to it.
And I am stuck.
It has got to a minor detail I have overlooked... I probably have just been staring at it for too long.
You can view it here
Can anyone pls help me out?
•
•
Join Date: May 2007
Posts: 20
Reputation:
Solved Threads: 1
Hi rariti,
Yes I think I can help you..
that reason is your CSS file is served with text/plain Content-type header not with text/css, which is needed. It's a problem of your web server configuration.
Yes I think I can help you..
that reason is your CSS file is served with text/plain Content-type header not with text/css, which is needed. It's a problem of your web server configuration. Last edited by smalldog; May 12th, 2007 at 10:26 pm.
•
•
Join Date: May 2007
Posts: 10
Reputation:
Solved Threads: 0
Thanks for replying smalldog. I am not sure what you mean by server configuration. The page looks great in transitional mode. I am just getting into strict doctypes, and so far have hit a very thick brick wall. I have been trying to figure out how to get this page to look right, and why Firefox specifically isn't reading the css.
•
•
Join Date: May 2007
Posts: 20
Reputation:
Solved Threads: 1
Rariti, your IP 64.182.44.206 is running Apache web server, right? And I am just telling you, this web server is wrong configured, because returns text/plain Content-type header for CSS file instead of text/css.
Move your page from 64.182.44.206/samples to www.sandamianline.com/samples and don't worry about that.
Move your page from 64.182.44.206/samples to www.sandamianline.com/samples and don't worry about that.
rariti do as smalldogn says 
For more info on the problem check out the following link:
http://developer.mozilla.org/en/docs..._for_CSS_Files

For more info on the problem check out the following link:
http://developer.mozilla.org/en/docs..._for_CSS_Files
•
•
Join Date: May 2007
Posts: 10
Reputation:
Solved Threads: 0
Hey thanks for the kick in the behind. MimeTypes.... I would have never figured it was that. It certainly opened my eyes to it. Looks like I got some more reading to do on its importance. I did exactly what SmallDog suggested, and it worked. I was seriously going nuts trying to figure it out. It never crossed my mind that maybe it was the server.
And thanks for the link DanceInstructor. That really helped clear things up. I have put in a ticket to my provider to update the mime-types on this dev server to match my other server. I added the css htaccess line from the Mozilla link. That got the page to display the css right.
I don't know if it was the way I was googling, but when i was trying to figure this out initially, my searches for "Firefox not displaying css with strict doctype" returned nothing about mime-types, or the possibility of it being the server.
Thanks again guys.
And thanks for the link DanceInstructor. That really helped clear things up. I have put in a ticket to my provider to update the mime-types on this dev server to match my other server. I added the css htaccess line from the Mozilla link. That got the page to display the css right.
I don't know if it was the way I was googling, but when i was trying to figure this out initially, my searches for "Firefox not displaying css with strict doctype" returned nothing about mime-types, or the possibility of it being the server.
Thanks again guys.
![]() |
Similar Threads
- CSS not for FIREFOX? (HTML and CSS)
- CSS issue with ie (HTML and CSS)
- What am i doing wrong with CSS in Firefox? (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: Table width
- Next Thread: HTML redirect value
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7





