2016-05-06 167 views
1

我想知道是否可以根据iframe大小调整页面内容的大小?因此,例如如何根据iFrame大小调整页面内容大小

<iframe width="100" height="300" src="http://example.com/file.html"></iframe> 

<iframe width="400" height="300" src="http://example.com/file.html"></iframe> 

都应该相应地调整内部的内容?

回答

0

如果iframe中的内容设置为宽度:100%是。

相关问题