Page 1 of 1

CSS not loading in Firefox

Posted: Fri Jun 23, 2006 4:17 pm
by Torpedine
Hi, suddenly the CSS are not loading in Firefox. They show properly in Safari and IE, but they are not applied in Firefox.

This is new, since I used Firefox to set up the website.

The CSS is pure standard, and was the same that I used from the beginning, functioning well all the time.

What can I do?

Re: CSS not loading in Firefox

Posted: Fri Jun 23, 2006 4:24 pm
by Dr.CSS
Got Link?

Re: CSS not loading in Firefox

Posted: Sat Jun 24, 2006 6:07 am
by mahjong
One simple mistake is to use a wrong URL. IE interpretes backslashes (\) as they were slashes (/) even thought they are not allowed in URLs. Firefox follows a lot more closely Web standards.

Also, for security purposes, Firefox blocks links to local files (and directories) from remote files by default. This includes linking to files on your hard drive, on mapped network drives, and accessible via UNC paths.

Re: CSS not loading in Firefox

Posted: Sat Jun 24, 2006 7:55 am
by Torpedine
The link is: http://nadia.meta.cpr.it

the strange thing is that I made the site using firefox, so the problem is new.

Looking in the Javascript console there is one error:

Warning: unrecognised command line flag -psn_0_3670017.

The same behaviour is shown using Firefox on Linux, MacoSX, Windows.

Re: CSS not loading in Firefox

Posted: Sat Jun 24, 2006 1:59 pm
by Dr.CSS
have you updated lately?...
are you using "pretty url" setting?...
have you tried removing the {metadata} tag from your template?...
i got it to work in Ff, but only when i tried to edit the CSS, screenshot below...
wierd  ;) have you checked your config.php or modified it?

[attachment deleted by admin]

Re: CSS not loading in Firefox

Posted: Sun Jun 25, 2006 6:22 pm
by Torpedine
The strange behaviour do not change using {metadata} or not.
The CSS il linked using {stylesheet}
The media type of the CSS is not specified.
I'm not using pretty urls

I'll check the permissions in config.php, but only on monday. I'll let you know

Re: CSS not loading in Firefox

Posted: Sun Jun 25, 2006 6:57 pm
by Russ
The pages fails vaildation on html...

"A fatal error occurred when attempting to transcode the character encoding of the document. Either we do not support this character encoding ("it_it") yet, or you have specified a non-existent character encoding (often a misspelling)...."

This is probably your problem... or at least will get you a step closer...

Hope this helps,

Russ

Re: CSS not loading in Firefox

Posted: Mon Jun 26, 2006 2:39 am
by Dr.CSS
i think you need to call a lang out in your header...
  from mine, and your page fails a link check validation, this is the line they pulled out of yours...


either just use or call out a lang. to see if that is it...

Re: CSS not loading in Firefox

Posted: Mon Jun 26, 2006 9:35 am
by Torpedine
I've put the language declaration but nothing changes  :'(

Re: CSS not loading in Firefox

Posted: Mon Jun 26, 2006 12:05 pm
by Dr.CSS
did you try it as ...

Re: CSS not loading in Firefox

Posted: Tue Jun 27, 2006 2:47 am
by mahjong
You are feeding you stylesheet with

Code: Select all

Content-Type : text/css; charset=it_IT
This is not such thing as a "charset=it_IT".  UTF-8, ISO-8859-1, Shift-JIS, ... all make sense, but not it_IT.

it-IT refers to a natural language, in this case Italian spoken by Italians.

Check your settings on your server.

Re: CSS not loading in Firefox

Posted: Tue Jun 27, 2006 10:34 am
by Torpedine
Solved! some dumbass in my team changed the encoding in config.php!

Thanks to everybody!  ;D