[thelist] css is not loaded with page in Firefox
James Hardy
evolt at weeb.biz
Wed Nov 17 15:45:31 CST 2004
IE doesn't pay much attention to MIME Types and will generally show
plain text that starts with <HTML> as HTML, likewise it will interperet
any file with an extension of css as a CSS file. Firefox adheres better
to the standards (which say if a file is served with a particular
mimetype that is how it is to be interpereted). This does have its uses
but if you have a dodgy server it can be somewhat annoying.
A very useful tool for Firefox that I often use for diagnosing problems
is Live HTTP headers ( http://livehttpheaders.mozdev.org/ ) which will
enable you to see the headers (including the Content-Type header) served
by your web server as they are transmitted to your browsers.
When I try to look at your page I get a 403 forbidden error.
--
James Hardy
http://www.weeb.biz/
Matt Tibbits wrote:
> I know...it's been doing that to me from time to time as well. This happened
> to you in Firefox right? It works perfectly in IE which I don't understand
> at all.
>
> I have restarted the web server. Maybe reboot the whole box?
>
> It is a single non-clustered server.
>
> I've been doing some research and apparently this problem is generally fixed
> by added "text/css css" to the mime.type file used by apache. This entry is
> already in the file...so that leaves me scratching my head.
>
>
>
> -----Original Message-----
> From: thelist-bounces at lists.evolt.org
> [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Chris Hayes
> Sent: November 17, 2004 3:45 PM
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] css is not loaded with page in Firefox
>
> Your web server software is more than a little dodgy.. I just got your
> index.html served as plain text.
>
> If this can happen intermittently to html it will certainly happen to CSS
> too.
>
> Reboot server ?
>
> Is it a single non-clustered server?
>
>
>
>
>
> ----- Original Message -----
> From: "Matt Tibbits" <metibbits at yahoo.ca>
> To: <thelist at lists.evolt.org>
> Sent: Wednesday, November 17, 2004 7:18 PM
> Subject: [thelist] css is not loaded with page in Firefox
>
>
>
>>I'm have a bit of a problem where a page loads in Firefox 1.0 but the CSS
>>does not. The page appears as being unformatted.
>>
>>
>>
>>The problem seems to be intermittent, as sometimes the page will load just
>>fine. I should mention that the entire site loads properly in IE6. Also,
>>the local copy of the site works fine in Firefox and IE.
>>
>>
>>
>>On top of all this when I use the web developer toolbar in Firefox to view
>>the css the correct css page is displayed. After I do this, all pages on
>
> the
>
>>site work fine.
>>
>>
>>
>>I know that the path to my css is correct because all pages work in IE.
>>Since everything works locally but does not work from the web server this
>>leads me to believe that it could be a problem with the server config, and
>>that is a problem. It's a long story, but basically the admin is
>>non-existent for this web server. The server is running Apache 1.3 with
>>Linux. Whenever I need to configure something I have to telnet to the
>
> server
>
>>and change what needs to be changed. This is a problem because I am far
>
> from
>
>>being a linux/apache aficionado.
>>
>>
>>
>>One thing that I have verified on the server is that the MIME type for
>>text/css is set to css.
>>
>>
>>
>>Does anybody have any idea what else could be the problem? If you want to
>>check out the site to see if you are getting the same issue then the URL
>
> is:
>
>>http://rebootnb.dimetech.ca <http://rebootnb.dimetech.ca/>
>>
>>
>>
>>The css is located at: http://rebootnb.dimetech.ca/stylereboot.css
>>
>>
>>
>>Any help is much appreciated.
>>
>>
>>
>>Matt
>>
More information about the thelist
mailing list