用iframe标簽嵌入頁面,要根據子頁面來調整大小。
<iframe name="main" src="Welcome.htm" frameborder="0" width="100%" onload="this.height=this.contentWindow.document.body.scrollHeight"
![](https://img.laitimes.com/img/_0nNw4CM6IyYiwiM6ICdiwiIml2ZuUmbv50LcNncvRXYjlGZul0ZulmbpxGd190LcNXZnFWbJ9CXt92YuM3ZvxmYuNmL3d3dvw1LcpDc0RHaiojIsJye.gif)
allowtransparency="true" scrolling="no"></iframe>
用iframe标簽嵌入頁面,要根據子頁面來調整大小。
<iframe name="main" src="Welcome.htm" frameborder="0" width="100%" onload="this.height=this.contentWindow.document.body.scrollHeight"
allowtransparency="true" scrolling="no"></iframe>