Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Learn More

firefox not loading local css with href getting error : ruleset ignored due to bad selector

more options

Hello All,

This is my first question in this Forum. I have made changes to Firefox config and able to call ajax locally but my local site is not loading and showing error with the style sheet. I am loading style sheet using href:

<link rel="stylesheet" type="text/css" href="mystyle.css" />

I am getting 100s of errors: ruleset ignored due to bad selector

Kindly help me out.

Hello All, This is my first question in this Forum. I have made changes to Firefox config and able to call ajax locally but my local site is not loading and showing error with the style sheet. I am loading style sheet using href: <link rel="stylesheet" type="text/css" href="mystyle.css" /> I am getting 100s of errors: ruleset ignored due to bad selector Kindly help me out.

Svi odgovori (1)

more options

Does the local site work normally in other browsers?

In case Firefox is more strict, could you verify using a validator such as: https://jigsaw.w3.org/css-validator/

Sometimes Firefox can't process external style sheet files due to a difference in page encoding. For example, if the main page was saved using UTF-8 character set, but the external page was saved using UTF-16LE character set. If you are mixing and matching files from different sources, you may need to re-save all the pages with the same encoding.