搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

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

  • 4 个回答
  • 30 人有此问题
  • 15 次查看
  • 最后回复者为 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.