如何使iframe src全宽度和高度?iframe src全宽和高度
例如我有这样
<iframe scrolling="no" frameborder="0" allowtransparency="true" style="border:none;width:100%;height:100&;" allowfullscreen="" src="http://www.example.com/page.php?width=100%&height=100%"></iframe>
这仅仅是要去的iframe具有全尺寸的宽度和只有iframe
高度。
当你看到这部分page.php?width=100%&height=100%
如果我把它这样,它不会工作。即使我做像这样 page.php?width=auto&height=auto
我需要在这里,使这个 page.php?width=100%&height=100%
去全iframe的宽度和高度,因为page.php文件的内容将被重新调整,如果我改变大小这样page.php?width=200&height=200
任何人都可以帮助我。欣赏它
@charlietfl好你给我造型内容的想法是的,我有控制的内容,所以我几乎在那里,它的工作原理:D感谢一大堆 –