943,840 Members | Top Members by Rank

Ad:
May 12th, 2007
0

FireFox not showing CSS in Strict Mode

Expand Post »
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?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rariti is offline Offline
10 posts
since May 2007
May 12th, 2007
0

Re: FireFox not showing CSS in Strict Mode

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.
Last edited by smalldog; May 12th, 2007 at 10:26 pm.
Reputation Points: 9
Solved Threads: 1
Newbie Poster
smalldog is offline Offline
20 posts
since May 2007
May 13th, 2007
0

Re: FireFox not showing CSS in Strict Mode

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rariti is offline Offline
10 posts
since May 2007
May 13th, 2007
0

Re: FireFox not showing CSS in Strict Mode

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.
Reputation Points: 9
Solved Threads: 1
Newbie Poster
smalldog is offline Offline
20 posts
since May 2007
May 13th, 2007
0

Re: FireFox not showing CSS in Strict Mode

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
Reputation Points: 17
Solved Threads: 14
Posting Whiz
DanceInstructor is offline Offline
355 posts
since Feb 2005
May 13th, 2007
0

Re: FireFox not showing CSS in Strict Mode

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rariti is offline Offline
10 posts
since May 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Table width
Next Thread in HTML and CSS Forum Timeline: HTML redirect value





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC