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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 05-07-2007, 11:37 PM   #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?
dwbears is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
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

Old 05-08-2007, 02:42 AM   #2 (permalink)
TSF Enthusiast
 
KoosHopeloos's Avatar
 
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!

KoosHopeloos is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 05-08-2007, 05:49 PM   #3 (permalink)
Registered User
 
Join Date: May 2007
Posts: 11
OS: Win XP Pro


Re: Dreamweaver, CSS & Firefox issue

Thanks for addressing my post. I am using Dreamweaver 8.
dwbears is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 05-10-2007, 11:07 PM   #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.
dwbears is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 05-11-2007, 02:53 AM   #5 (permalink)
TSF Enthusiast
 
KoosHopeloos's Avatar
 
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!

KoosHopeloos is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 05:33 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85