Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

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.

All Replies (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.