HighDots Forums  

firefox and CSS files

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss firefox and CSS files in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Russ Wickstrom
 
Posts: n/a

Default firefox and CSS files - 01-08-2005 , 04:22 PM






I have a webpage (http://www.clergytaxes.com/taxwarn.html) that looks fine
in IE but isn't applying any of the style in Firefox.

I am still in the process of converting this site to a stylesheet based
design, and cannot see my problem.

The stylesheet is in the images folder on the same server.
(http://www.clergytaxes.com/images/ct.css)

Could someone steer me in the right direction please?

Thank you,

Russ Wickstrom
Minneapolis, MN

rkwickstrom (AT) yahoo (DOT) com



Reply With Quote
  #2  
Old   
Henri Sivonen
 
Posts: n/a

Default Re: firefox and CSS files - 01-08-2005 , 04:39 PM






In article <10u0nb6a2raln38 (AT) corp (DOT) supernews.com>,
"Russ Wickstrom" <rwickstrom (AT) access4less (DOT) net> wrote:

Quote:
I have a webpage (http://www.clergytaxes.com/taxwarn.html) that looks fine
in IE but isn't applying any of the style in Firefox.
....
Could someone steer me in the right direction please?
Misconfigured server. MIME type of CSS files should be text/css and not
text/plain.

http://www.mozilla.org/docs/web-deve...tylenotworking

--
Henri Sivonen
hsivonen (AT) iki (DOT) fi
http://iki.fi/hsivonen/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html


Reply With Quote
  #3  
Old   
Russ Wickstrom
 
Posts: n/a

Default Re: firefox and CSS files - 01-08-2005 , 07:08 PM



I have tried it with both no type (as it is now) and with the
'type="text/css"'

This has made no difference.

--Russ

"Henri Sivonen" <hsivonen (AT) iki (DOT) fi> wrote

Quote:
In article <10u0nb6a2raln38 (AT) corp (DOT) supernews.com>,
"Russ Wickstrom" <rwickstrom (AT) access4less (DOT) net> wrote:

I have a webpage (http://www.clergytaxes.com/taxwarn.html) that looks
fine
in IE but isn't applying any of the style in Firefox.
...
Could someone steer me in the right direction please?

Misconfigured server. MIME type of CSS files should be text/css and not
text/plain.

http://www.mozilla.org/docs/web-deve...tylenotworking

--
Henri Sivonen
hsivonen (AT) iki (DOT) fi
http://iki.fi/hsivonen/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html




Reply With Quote
  #4  
Old   
Beauregard T. Shagnasty
 
Posts: n/a

Default Re: firefox and CSS files - 01-08-2005 , 09:02 PM



Russ Wickstrom wrote:

Quote:
I have tried it with both no type (as it is now) and with the
'type="text/css"'

This has made no difference.
Just after you load the page in Firefox, go open the JavaScript
console, on the Tools menu. You will see the error:

Error: The stylesheet http://www.clergytaxes.com/images/ct.css was not
loaded because its MIME type, "text/plain", is not "text/css".

Your host is not serving CSS files correctly. Contact them, and read
this error to them.

IE, of course, doesn't play by the rules. It should also reject the
stylesheet.

--
-bts
-This space intentionally left blank.


Reply With Quote
  #5  
Old   
Henri Sivonen
 
Posts: n/a

Default Re: firefox and CSS files - 01-09-2005 , 02:20 AM



In article <10u110ojuhapt96 (AT) corp (DOT) supernews.com>,
"Russ Wickstrom" <rwickstrom (AT) access4less (DOT) net> wrote:

Quote:
I have tried it with both no type (as it is now) and with the
'type="text/css"'
The attribute is not the issue. The MIME type sent by the server is.

--
Henri Sivonen
hsivonen (AT) iki (DOT) fi
http://iki.fi/hsivonen/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html


Reply With Quote
  #6  
Old   
Alan J. Flavell
 
Posts: n/a

Default Re: firefox and CSS files - 01-10-2005 , 12:56 PM



On Sat, 8 Jan 2005, Beauregard T. Shagnasty wrote:

Quote:
IE, of course, doesn't play by the rules. It should also reject the
stylesheet.
By my reading of the rules, it *must* (not merely "should") reject the
stylesheet when presented with the wrong media type from the server.



Reply With Quote
  #7  
Old   
Beauregard T. Shagnasty
 
Posts: n/a

Default Re: firefox and CSS files - 01-10-2005 , 01:12 PM



Alan J. Flavell wrote:
Quote:
On Sat, 8 Jan 2005, Beauregard T. Shagnasty wrote:

IE, of course, doesn't play by the rules. It should also reject
the stylesheet.

By my reading of the rules, it *must* (not merely "should") reject
the stylesheet when presented with the wrong media type from the
server.
Of course. I was being polite. <g>

(Then again, there are all these posts... "how do I force.." and I
don't like to force anything...)

If IE did reject all non text/css stylesheets, my major ISPs webmail
program would generate about two million support calls today.

From Firefox:
Warning: The stylesheet https://[MajorIspHere]/css/styles.css was
loaded as CSS even though its MIME type, "application/x-pointplus", is
not "text/css".

So Firefox will load an x-pointplus stylesheet!

--
-bts
-This space intentionally left blank.


Reply With Quote
  #8  
Old   
Henri Sivonen
 
Posts: n/a

Default Re: firefox and CSS files - 01-10-2005 , 01:28 PM



In article <34g2d7F4am31gU1 (AT) individual (DOT) net>,
"Beauregard T. Shagnasty" <a.nony.mous (AT) example (DOT) invalid> wrote:

Quote:
From Firefox:
Warning: The stylesheet https://[MajorIspHere]/css/styles.css was
loaded as CSS even though its MIME type, "application/x-pointplus", is
not "text/css".

So Firefox will load an x-pointplus stylesheet!
In the quirks mode, yes.

--
Henri Sivonen
hsivonen (AT) iki (DOT) fi
http://iki.fi/hsivonen/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html


Reply With Quote
  #9  
Old   
Alan J. Flavell
 
Posts: n/a

Default Re: firefox and CSS files - 01-10-2005 , 01:31 PM



On Mon, 10 Jan 2005, Beauregard T. Shagnasty wrote:

Quote:
Warning: The stylesheet https://[MajorIspHere]/css/styles.css was
loaded as CSS even though its MIME type, "application/x-pointplus",
is not "text/css".
Mercy! Is that piece of nonsense still going on? I was grumbling
about that in around 1996 already, and last saw it happening two or
three years back. I suppose this goes into the same class as the ISP
who proudly told their customer "We don't support CSS". Scarcely
credible, what?



Reply With Quote
  #10  
Old   
Beauregard T. Shagnasty
 
Posts: n/a

Default Re: firefox and CSS files - 01-10-2005 , 03:04 PM



Alan J. Flavell wrote:
Quote:
On Mon, 10 Jan 2005, Beauregard T. Shagnasty wrote:

Warning: The stylesheet https://[MajorIspHere]/css/styles.css was
loaded as CSS even though its MIME type,
"application/x-pointplus", is not "text/css".

Mercy! Is that piece of nonsense still going on? I was grumbling
about that in around 1996 already, and last saw it happening two
or three years back. I suppose this goes into the same class as
the ISP who proudly told their customer "We don't support CSS".
Yep, still going on. I've reported it at their support center oh about
every two months for a couple of years or so. Such a simple change to
the servers... no luck. (They are Netscape-Enterprise/6.0 running Sun
Solaris, according to Netcraft.)

Quote:
Scarcely credible, what?
All of their web pages are crap. Henri points out that FF will read
the css in quirks mode (which I didn't remember). For the most part,
these pages aren't even worthy of being called "quirky."

--
-bts
-This space intentionally left blank.


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.