我正在使用IFrame来展示来自其他领域的一些内容.问题是我可以使用指定的高度和宽度(我正在使用),IFrame中的内容无法完全容纳在IFrame中.因此,我需要滚动条.
我使用了以下HTML代码 -
**<iframe style = "overflow-x:scroll; overflow-y:scroll;" src = "http://shopsocial.ly/merchant/fanpage?merchant_name=cafepress"
height = "400" width = "500">**
Run Code Online (Sandbox Code Playgroud)
这在Firefox中运行良好.但在Chrome中,我没有在IFrame中获得任何滚动条.我已经搜索过这个问题并尝试过很多东西,但都没有解决我的问题.有人可以帮我弄这个吗?