滚动条在iframe中不可见 [英] Scrollbar not visible in iframe

查看:188
本文介绍了滚动条在iframe中不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用iframe与src指向在dojo框架中制作的网站。我的网址在不同的服务器上,我的iframe位于不同的服务器上。我只是使用URL来加载iframe中的URL内容。但是,如果页面内容超过iframe,则我看不到iframe的滚动条。

I am trying to use iframe with src pointing to a website made in dojo framework. My URL is on different server and and my iframe is on different server. I am just using URL to load URL's content inside iframe. But I can't see the scrollbar with iframe although the page content is more than iframe.

我的代码是:

<div style="overflow:visible; width: 100%;">
    <iframe src="http://172.27.135.85:2040/feg/ngfeeui/public/" width="80%" height="400px" frameborder="0" scrolling="auto" style="overflow: auto;"></iframe>
</div>

如果这个问题是由于在dojo框架中使用的一些javascript或css,有人可以帮助我吗?如果需要,我可以发布完整的URL代码,我可以在firebug中看到。

Can someone help me if this issue is due to some javascript or css used in dojo framework? If needed I can post the full code of URL also, what I am able to see in firebug.

推荐答案

对不起,这是在一个答案,我还没有评论。您的浏览器是否支持iframe?请在这里查看: http://www.w3schools.com/tags/tryit.asp? filename = tryhtml_iframe_scrolling

Sorry this is in an answer, I don't have the points to comment yet. Does your browser support iframes? Check here: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_iframe_scrolling

这篇关于滚动条在iframe中不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆