搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Warning: Error in parsing value for 'line-height'. Declaration dropped. Source File: http://www.theclinics.com/

  • 3 回覆
  • 12 有這個問題
  • 1 次檢視
  • 最近回覆由 dahweeds

more options

Warning: Error in parsing value for 'line-height'. Declaration dropped. Source File: http://www.theclinics.com/webfiles/includes/css/platform/master.css Line: 6119

Warning: Error in parsing value for 'line-height'. Declaration dropped. Source File: http://www.theclinics.com/webfiles/includes/css/platform/master.css Line: 6119

所有回覆 (3)

more options

You can ignore (CSS) errors in the Tools > Error Console.
Those errors are only useful if you develop websites and want to check the HTML/CSS and JavaScript code for errors.
Most errors are code for other browsers like IE or browsers on other platforms or just typos or the result of bad coding.


Clear the cache and the cookies from sites that cause problems.

  • "Clear the Cache": Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
  • "Remove the Cookies" from sites causing problems: Firefox > Preferences > Privacy > Cookies: "Show Cookies"
more options

Thank you but the problem persists

more options

Well this was happening to me when my firefox loaded a website with a third party skin that installed by another coworker.

The reason was that the line-height value was written with backslashes.

It looked like this:

 /* IE 8 Hack */ line-height: \12\ /; 

I think it was a mistake caused by some upload or another, or maybe there was a comment there which was removed previously. The only reason I post the problem is to show that you may have to carefully check the value.

As the error mentions "Error in parsing value"

It does not mean the FF had any problem with the property (line-height), which is what I first concluded.