To start off, you can find the code in this JSFiddle link
I am attempting to include an iframe as if it were a div. I understand how to do this with a regular iframe, but the one I am using contains a slider, resulting in two vertical scroll bars appearing on the right side of the page.
Here is the HTML code:
<div class="container">
<div class="h_iframe">
<iframe src="http://isotopethemes.com/slider-test/" frameborder="0" allowfullscreen></iframe>
</div>
</div>
And here is the CSS code:
html,body {height:100%;}
.h_iframe iframe {position:absolute;top:0;left:0;width:100%; height:100%;}
Is there a way to make the behavior of the iframe mimic that of a div, so that the page only requires one scroll bar? Using overflow:none
removes the scroll from the iframe, but I need a solution that retains functionality.
Any assistance on this matter would be greatly appreciated.