Locate CSS Error Location
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?
Alle Antworten (3)
Is this your own created css or downloaded userChrome.css edit your using?
I'm guessing it's my CSS but the issue is that there appears to be no way for me to tell which declaration throws the error.
You should post your css edits to a css forum and have someone there look to see if there is corrections to be made to the custom user css.