1
I have an iframe element on my site but it’s showing the vertical scroll. How to hide it?
Sample code:
<html>
<style>
.container {
width: 300px;
overflow: hidden;
}
.child {
width: 200%;
height: 200px;
overflow: hidden;
overflow-x: hidden;
}
</style>
<body>
<div class="container">
<div class="child">
<iframe frameborder="0" src="http://www.cbox.ws/box/?boxid=439&boxtag=7868&sec=main"></iframe>
</div>
</div>
</body>
</html>
NOTE: I tried to use scrolling="no" but it disables scroll, I don’t want to disable, just hide.
There is no way to hide the scroll from iframe and make it scrollable, EXCEPT if you have control over its internal HTML, if it is from the same domain. Or else you can resort to the gambit of the answer below.
– Sam