I have following iframe in my site:
<iframe src="<<URL>>" height="800" width="800" sandbox="allow-same-origin allow-scripts allow-forms" scrolling="no" style="overflow: hidden"></iframe>
And it has scrolling bars.
How to get rid of them?
I have following iframe in my site:
<iframe src="<<URL>>" height="800" width="800" sandbox="allow-same-origin allow-scripts allow-forms" scrolling="no" style="overflow: hidden"></iframe>
And it has scrolling bars.
How to get rid of them?
I solved the same issue with this css:
It seems to work using
inside the IFrame
edit: Of course this is only working, if you have access to the Iframe's content (which I have in my case)
Add this styles..for your iframe tag..
Since the "overflow: hidden;" property does not properly work on the iFrame itself, but seems to give results when applied to the body of the page inside the iFrame, I tried this :
Which surprisingly did work with Firefox, removing those annoying scrollbars.
In Safari though, a weird 2-pixels-wide transparent line has appeared on the right side of the iframe, between its contents and its border. Strange.