How to hide the scrollbar but scroll in an html iframe?
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.
Vsi odgovori (1)
- http://stackoverflow.com/questions/10.../hide-scrollbar-for-iframe-in-html5-on-firefox-without-editing-the-src
- http://stackoverflow.com/questions/13.../hide-scrollbars-of-a-iframe-with-javascript-firefox-opera-and-ie
- [div iframe {border:0;overflow:hidden;}]
*Html4 only: https://developer.mozilla.org/en-US/d.../iframe