Ky sajt do të funksionojë me kufizime, teksa bëjmë mirëmbajtjen e tij për të përmirësuar punën tuaj. Nëse një artikull nuk e zgjidh problemin tuaj dhe dëshironi të bëni një pyetje, kemi bashkësinë tonë të asistencës, e gatshme për t’ju ndihmuar, te @FirefoxSupport në Twitter dhe/r/firefox në Reddit.

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

Locate CSS Error Location

  • 6 përgjigje
  • 0 e kanë hasur këtë problem
  • Përgjigjja më e re nga andrew121

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?

Krejt Përgjigjet (6)

more options

Is this your own created css or downloaded userChrome.css edit your using?

E dobishme?

more options

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.

E dobishme?

more options

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.

E dobishme?

more options

The issue is not that there's a CSS error but that Firefox, though acknowledging there is an error, does not provide any useful information as to where the error occurred.

E dobishme?

more options

You probably are using minified files that consist of one long line to optimize loading and not the original files with line breaks and thus Firefox can't show where this error occurs. If you see preview.htm:1:1 then this means that you have embedded the CSS rules in the main HTML file. You can try an online CSS validate website to check for issues.

E dobishme?

more options

Thanks for the reply. My CSS is not minified (perhaps there's some 3rd party extension's CSS that Firefox is finding?) At any rate the CSS validator cannot handle container nor nested queries.

E dobishme?

Bëni një pyetje

Duhet të bëni hyrjen te llogaria juaj që t’i përgjigjeni postimeve. Ju lutemi, filloni me një pyetje të re, nëse nuk keni ende një llogari.