User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 397,658 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,370 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1385 | Replies: 5
Reply
Join Date: May 2007
Posts: 5
Reputation: rariti is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
rariti rariti is offline Offline
Newbie Poster

Troubleshooting FireFox not showing CSS in Strict Mode

  #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?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2007
Posts: 20
Reputation: smalldog is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
smalldog smalldog is offline Offline
Newbie Poster

Re: FireFox not showing CSS in Strict Mode

  #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 9:26 pm.
Join a forum for webmasters and developers
HTML Forum
Reply With Quote  
Join Date: May 2007
Posts: 5
Reputation: rariti is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
rariti rariti is offline Offline
Newbie Poster

Re: FireFox not showing CSS in Strict Mode

  #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  
Join Date: May 2007
Posts: 20
Reputation: smalldog is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
smalldog smalldog is offline Offline
Newbie Poster

Re: FireFox not showing CSS in Strict Mode

  #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  
Join Date: Feb 2005
Posts: 354
Reputation: DanceInstructor is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 12
DanceInstructor's Avatar
DanceInstructor DanceInstructor is offline Offline
Posting Whiz

Re: FireFox not showing CSS in Strict Mode

  #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  
Join Date: May 2007
Posts: 5
Reputation: rariti is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
rariti rariti is offline Offline
Newbie Poster

Re: FireFox not showing CSS in Strict Mode

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 11:37 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC