搜尋 Mozilla 技術支援網站

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

了解更多

How to hide the scrollbar but scroll in an html iframe?

  • 1 回覆
  • 1 有這個問題
  • 20 次檢視
  • 最近回覆由 guigs

more options

I created a website using HTML, CSS and JS. I have a problem when i created a html page using iframe in that i am displaying some text that exceeds the fixed size of the iframe and creating scroll bar but i want to hide the scrollbar but it should have to scroll. I used the following code in CSS as follows, ::-webkit-scrollbar { display: none; }. It is working in Chrome browser, but not supporting in firefox is there any alternative code to solve this problem in firefox.

I created a website using HTML, CSS and JS. I have a problem when i created a html page using iframe in that i am displaying some text that exceeds the fixed size of the iframe and creating scroll bar but i want to hide the scrollbar but it should have to scroll. I used the following code in CSS as follows, ::-webkit-scrollbar { display: none; }. It is working in Chrome browser, but not supporting in firefox is there any alternative code to solve this problem in firefox.

所有回覆 (1)

more options