### 再问:如何使iframe的高度通过内页面控制 ###
aRayn 2003-10-18 01:12:02 论坛有N多关于这个问题的文章了:
http://expert.csdn.net/Expert/topic/2353/2353017.xml?temp=.517132
http://expert.csdn.net/Expert/topic/2198/2198546.xml?temp=.4141352
http://expert.csdn.net/Expert/topic/2197/2197966.xml?temp=5.550784E-02
可是,不知道到底是哪的问题,我的运行效果却总不是这么回事。
我的代码是这样的:
<iframe
Src="URL"
Frameborder=1
Onload="this.height=this.document.body.scrollHeight"
>
</iframe>
可是,其效果却不能将iframe的高度置为内页的高度?郁闷:(
我的运行环境是:Win2000 Adv Server, IE6.0.2800.1106,高手请指教。