搜尋 Mozilla 技術支援網站

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

了解更多

There are random lines on this website and there is no error in the source.

  • 3 回覆
  • 1 有這個問題
  • 6 次檢視
  • 最近回覆由 cor-el

more options

I am developing a website but have come across this problem. There is a missing line after the first row of the layout table and it appears that it has moved to the bottom of the table. I have validated my website through W3C and it is as clean as can be. I have loaded the page in all major browsers except Internet Explorer (Mozilla Firefox, Safari, Google Chrome, and Opera) and Mozilla Firefox is the only one that does it. I use OS X 10.6.4. I have had somebody else using OS X try it as well and it didn't work. I even tried clearing my cache. Is it something wrong with Mozilla Firefox or with my website?

I am developing a website but have come across this problem. There is a missing line after the first row of the layout table and it appears that it has moved to the bottom of the table. I have validated my website through W3C and it is as clean as can be. I have loaded the page in all major browsers except Internet Explorer (Mozilla Firefox, Safari, Google Chrome, and Opera) and Mozilla Firefox is the only one that does it. I use OS X 10.6.4. I have had somebody else using OS X try it as well and it didn't work. I even tried clearing my cache. Is it something wrong with Mozilla Firefox or with my website?

所有回覆 (3)

more options

It is not a missing line, but caused by the height being calculated as 21px instead of 20px.
You can try to leave out the   in the TD elements to avoid that extra pixel.

See https://developer.mozilla.org/en/Images%2C_Tables%2C_and_Mysterious_Gaps

more options

Thanks. Removing the non-breaking spaces fixed it. :)