HTML & CSS
How can i disable horizontal scrollbar for iframe.
I need vertical scrollbar. i am trying with overflow-x: hidden. but not getting.
Any one know this.
Maybe you could try overflow: hidden; but that might cut off some of the content. Or maybe set a width on it. A link would make it easier to say.
Add scrolling="auto to the iframe tag and it should only add the horizontal scrollbar if needed in most browsers apart from IE6.
<iframe frameborder="0" scrolling="auto" src="iframesrc.htm" width="300" ></iframe>
This topic is now closed. New replies are no longer allowed.