CSS not loading in Firefox

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
Torpedine
Forum Members
Forum Members
Posts: 142
Joined: Thu May 18, 2006 3:53 pm

CSS not loading in Firefox

Post 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?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSS not loading in Firefox

Post by Dr.CSS »

Got Link?
mahjong

Re: CSS not loading in Firefox

Post 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.
Torpedine
Forum Members
Forum Members
Posts: 142
Joined: Thu May 18, 2006 3:53 pm

Re: CSS not loading in Firefox

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSS not loading in Firefox

Post 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]
Torpedine
Forum Members
Forum Members
Posts: 142
Joined: Thu May 18, 2006 3:53 pm

Re: CSS not loading in Firefox

Post 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
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: CSS not loading in Firefox

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSS not loading in Firefox

Post 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...
Torpedine
Forum Members
Forum Members
Posts: 142
Joined: Thu May 18, 2006 3:53 pm

Re: CSS not loading in Firefox

Post by Torpedine »

I've put the language declaration but nothing changes  :'(
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSS not loading in Firefox

Post by Dr.CSS »

did you try it as ...
mahjong

Re: CSS not loading in Firefox

Post 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.
Torpedine
Forum Members
Forum Members
Posts: 142
Joined: Thu May 18, 2006 3:53 pm

Re: CSS not loading in Firefox

Post by Torpedine »

Solved! some dumbass in my team changed the encoding in config.php!

Thanks to everybody!  ;D
Post Reply

Return to “Layout and Design (CSS & HTML)”