![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: May 2007
Posts: 11
OS: Win XP Pro
|
Dreamweaver, CSS & Firefox issue
If this issue has already been addressed please tell me where to find the info.
If not.... Has anyone had the experience of creating a web page in Dreamweaver, attaching a style sheet to it and then Firefox not seeing the style sheet when IE and Opera does? Firefox says: Error: The stylesheet http://www.bearinthewood.com/style.css was not loaded because its MIME type, "/css", is not "text/css". Source File: http://www.bearinthewood.com/rh01.html Line: 0 My page and my style sheet are very simple and I do not understand why Firefox says it's not a "text/css" when I believe it is. I created the style sheet with Dreamweaver. Also, if I remove the Doc Type info in the top of my web page then everything, including the style sheet stuff displays fine in Firefox (and everywhere else). The address for the page is " http://www.bearinthewood.com/rh01.html and here's the code I'm using in the style sheet: /*CSS Document */ body {font-family: Arial, Helvetica, sans-serif; background-color: #663300; background-image:url(images/wood.gif);} h1 {text-align: center; color: #FFCC33; } h2 {color: #FFCC33; text-align: center; font-size: 24px; } a:link {color: #FFFF00; text-align: center;} a:visited {color: #FF6600;} a:hover {background-color: #003300; line-height: normal;} a:active {color: #FF3300;} Any thoughts?
|
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
TSF Enthusiast
Join Date: Nov 2004
Posts: 555
OS: Windows XP Pro & Windows Vista Ultimate browsing the web with FF, Opera, Safari and IE.
|
Re: Dreamweaver, CSS & Firefox issue
@ dwbears: Strange problem! I try to replicate the problem when I get home and to see what this is about. BTW, which version of Dreamweaver are you using?
__________________
KoosHopeloos, straight to you from .nl via the world wide web! ![]() |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Join Date: May 2007
Posts: 11
OS: Win XP Pro
|
Re: Dreamweaver, CSS & Firefox issue
Okay, I'm able to answer my own question now. I found out that I did not have the Mime types set correctly on my host site so Firefox would not allow the CSS to show. It need to be set as text/css and as soon as I fixed that everything worked.
|
|
|
|
|
|
#5 (permalink) |
|
TSF Enthusiast
Join Date: Nov 2004
Posts: 555
OS: Windows XP Pro & Windows Vista Ultimate browsing the web with FF, Opera, Safari and IE.
|
Re: Dreamweaver, CSS & Firefox issue
@ dwbears: Thanks for posting the answer on your own question! Hopefully, it will be helpfull for others...
I have tried a couple of things but I couldn't replicate your problem, now I understand why. Good luck with your further design!
__________________
KoosHopeloos, straight to you from .nl via the world wide web! ![]() |
|
|
|
![]() |
| Thread Tools | |
|
|