我正在使用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>