This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Locate CSS Error Location

  • Babu amsoshi
  • 0 sa na da wannan matsala
more options

My page throws errors in Firefox Nightly such as

Expected color but found ‘undefined’. Error in parsing value for ‘background-color’. Declaration dropped. preview.htm:1:1

and

Expected color but found ‘undefined’. Error in parsing value for ‘color’. Declaration dropped. preview.htm:1:1

The page references ten CSS files besides having dozens of its own CSS declarations. The issue is tha the reference provided to the error (:1:1) does not indicate where I can find the error. That is, I don't know which declaration is at fault. Is there some straighforward way to find the declaration in question?

My page throws errors in Firefox Nightly such as Expected color but found ‘undefined’. Error in parsing value for ‘background-color’. Declaration dropped. preview.htm:1:1 and Expected color but found ‘undefined’. Error in parsing value for ‘color’. Declaration dropped. preview.htm:1:1 The page references ten CSS files besides having dozens of its own CSS declarations. The issue is tha the reference provided to the error (:1:1) does not indicate where I can find the error. That is, I don't know which declaration is at fault. Is there some straighforward way to find the declaration in question?

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.