从内容编辑器/页面查看器Webpart中删除滚动条 [英] Removing scrollbars from Content Editor/Page Viewer Webpart

查看:193
本文介绍了从内容编辑器/页面查看器Webpart中删除滚动条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在另一个SharePoint webpart页面中显示HTML页面。

I am trying to display an HTML page inside another SharePoint webpart page.

我使用了现成的页面查看器webpart,但页面查看器webpart在其中显示禁用的滚动条。

I used the Out-of-the-box page viewer webpart, but the page viewer webpart displays a disabled scrollbar inside it.

我也尝试使用带有IFRAME标记的内容编辑器webpart,但它仍然没有用。

I also tried using a content editor webpart with an IFRAME tag in it, but still it didnt't work.

这是我在内容编辑器webpart中使用的代码。

This is the code i used in the content editor webpart.

<iframe name="Iframe" src="URL1" scrolling="no"
    FRAMEBORDER="0" style="width:100%; border:0;  height:100%; overflow:hidden;">
</iframe>


推荐答案

宽度:100%;高度:100%可能是罪魁祸首。使iframe的大小大于框架窗口。也可以尝试使用scrolling =no

"width:100%;height:100%" may be the culprit. make size of the iframe larger than the frame window. Also try using scrolling="no"

这篇关于从内容编辑器/页面查看器Webpart中删除滚动条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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