div中的iframe在引导程序中没有达到100%的高度

时间:2015-12-05 15:15:58

标签: css twitter-bootstrap iframe

我正在使用bootstrap,我必须显示从一个div到另一个div的输出。

一个侧边栏div有链接,而在其他主要div中必须显示输出(表格格式)。

所以我在主div中创建了iframe,但iframe的高度不是100%,但在添加css后宽度为100%。

有人可以帮忙。

在bootstrap.min.css中添加

<p>
iframe {position:relative; top:0; bottom:0; left:0; width:100%; height:100%; border:0}
</p>

0 个答案:

没有答案