Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

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.

Todas as respostas (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.