•
•
•
•
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
![]() |
•
•
Join Date: May 2007
Posts: 5
Reputation:
Rep Power: 0
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:
Rep Power: 0
Solved Threads: 0
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 9:26 pm.
Join a forum for webmasters and developers
HTML Forum
HTML Forum
•
•
Join Date: May 2007
Posts: 5
Reputation:
Rep Power: 0
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:
Rep Power: 0
Solved Threads: 0
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.
Join a forum for webmasters and developers
HTML Forum
HTML Forum
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: 5
Reputation:
Rep Power: 0
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.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
beta bon browser browsers browsing code css development div dreamweaver echo email encryption europe firefox gecko google checkout google checkout vat html html api internet internet explorer internet explorer 7 javascript leak linux memory microsoft mozilla networking news open source open-source patch phishing scams security social software super symantec tables testing users w3c web webmail wysiwyg xml
- 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


Linear Mode