[英]Scroll bar issue with iframe
我面临的问题是:当我在html网站中设置iframe以便显示另一个html页面时,我在左侧获得了2个滚动条,但我根本无法滚动。 我想要的是滚动主页,而不是iframe中的页面。
iframe:
<div class="sixteen columns">
<div id="main" style="position: absolute">
<iframe src="html5/Project1.html" height="700px" width=" 1000" scrolling="no"></iframe>
</div>
该问题存在于IE和FF上,而不存在于Chrome上。
尝试
<iframe src="html5/Project1.html" style="overflow:hidden;width:1000px;height:70px"</iframe>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.