為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Why can't I see the vertical scrollbar after setting the css overflow property to auto?

  • 4 回覆
  • 30 有這個問題
  • 1 次檢視
  • 最近回覆由 pecktron2000

more options

I can't get the scrollbar to show up after setting overflow to auto. I can find the scrollbar and use it if I "guess" where it should be and scroll down as if I were seeing it. All other browsers are showing the scrollbar and firefox will behave correctly with all other overflow values. So basically, the scrollbar is there but it is invisible in firefox for some reason.

I can't get the scrollbar to show up after setting overflow to auto. I can find the scrollbar and use it if I "guess" where it should be and scroll down as if I were seeing it. All other browsers are showing the scrollbar and firefox will behave correctly with all other overflow values. So basically, the scrollbar is there but it is invisible in firefox for some reason.

所有回覆 (4)

more options

This forum focuses on end-user support, so you may not get much response here to this question. You can find more web development help on the mozillaZine Web Development board. Separate forum, separate registration. Please note the tips in the Sticky Post at the top of the forum before posting.

(It will help to post a link to a test case demonstrating the problem.)

more options

There is a link in the More system details list (http://www.ransomemultimedia.com)

You don't give Firefox much room for a scroll bar with a height:18px.
So you probably won't see much if Firefox did add a scroll bar.
The DIV #footer can also use a style clear:both

more options

Thanks jscher! I ended up making the div 34px per your suggestion.

由 pecktron2000 於 修改

more options

Thanks cor-el, i will add the clear both style.