NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Javascript Problem which is related with the MIME type in Firefox

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
2 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 07-26-2005, 01:54 AM THREAD STARTER               #1 (permalink)
First Time Poster!
Join Date: Jul 2005
Posts: 1
mustafamisir is an unknown quantity at this point
 



Caution Javascript Problem which is related with the MIME type in Firefox


Hi,

I have been constructing a website which includes some Javascript code. These, codes give good result in IE, but they crash in Firefox. And the error message is

Error: The stylesheet http://127.0.0.1/web/main.php was not loaded because its MIME type, "text/html", is not "text/css".

I search it many times in google, and found some answers, but all the answers which I saw are not enough for the solution.

Do you have any idea about it?
mustafamisir is offline  
Old 08-01-2005, 07:00 PM   #2 (permalink)
NamePros Regular
 
monaco's Avatar
Join Date: Jul 2005
Location: Tucson, AZ
Posts: 689
monaco will become famous soon enough
 



How are you using it?

You need to override the type that the HTTPd is sending to the browser. If your css is in another file, the easiest way to do this is use a .css extension on the file, and make sure your <link> tags have text/css in them.

If you're using <style> tags to inline your CSS...well, don't do that. Put them in separate files and link to them...it makes your life easier.
__________________
My Website | My Blog
monaco is offline  
Closed Thread


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
vBulletin Problem!!!!!!!!!!!! domaino Programming 11 06-23-2005 06:29 AM
A Beginner's Guide to Securing Your Server Part 1 of 3 (Security Inside WHM/CPanel) 000000000 Webmaster Tutorials 7 10-09-2004 01:17 PM
2 Huge Name Forsale Vegas Entertainment Domains For Sale - Make Offer 9 09-21-2004 02:37 PM
what type of business related domain jaikini Domain Name Discussion 4 06-29-2004 08:17 AM
Javascript: W3C Problem? Mp)Tarh Programming 2 11-16-2003 04:26 AM

 
All times are GMT -7. The time now is 12:09 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger