We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 1 reply
  • 1 has this problem
  • 20 views
  • Last reply by 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.

All Replies (1)

more options