FireFox not showing CSS in Strict Mode

Thread Solved

Join Date: May 2007
Posts: 10
Reputation: rariti is an unknown quantity at this point 
Solved Threads: 0
rariti rariti is offline Offline
Newbie Poster

FireFox not showing CSS in Strict Mode

 
0
  #1
May 12th, 2007
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?
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 20
Reputation: smalldog is an unknown quantity at this point 
Solved Threads: 1
smalldog smalldog is offline Offline
Newbie Poster

Re: FireFox not showing CSS in Strict Mode

 
0
  #2
May 12th, 2007
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.
Join a forum for webmasters and developers
HTML Forum
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 10
Reputation: rariti is an unknown quantity at this point 
Solved Threads: 0
rariti rariti is offline Offline
Newbie Poster

Re: FireFox not showing CSS in Strict Mode

 
0
  #3
May 13th, 2007
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.
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 20
Reputation: smalldog is an unknown quantity at this point 
Solved Threads: 1
smalldog smalldog is offline Offline
Newbie Poster

Re: FireFox not showing CSS in Strict Mode

 
0
  #4
May 13th, 2007
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.
Join a forum for webmasters and developers
HTML Forum
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 355
Reputation: DanceInstructor is an unknown quantity at this point 
Solved Threads: 14
DanceInstructor's Avatar
DanceInstructor DanceInstructor is offline Offline
Posting Whiz

Re: FireFox not showing CSS in Strict Mode

 
0
  #5
May 13th, 2007
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
Clear Mind Hosting and Web Design

If I've helped you please consider adding to my reputation.
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 10
Reputation: rariti is an unknown quantity at this point 
Solved Threads: 0
rariti rariti is offline Offline
Newbie Poster

Re: FireFox not showing CSS in Strict Mode

 
0
  #6
May 13th, 2007
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.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC