页面中插入框架,但我的框架内容是可变的,怎样才能不用规定框架的高度,
 比如说页面1是主页面,而页面2是框架,在页面一中插入 
  <IFRAME   marginWidth=0   marginHeight=0   src= "页面2.asp "   frameBorder=0   width=900   scrolling=no   height=900>  </IFRAME>    
 我想在页面1中刚好显示页面2的内容,而不是规定高度.如果以后页面2的内容改变了,他也跟着改变   
 在线等呀,各位大哥
------解决方案--------------------onload=document.all( 'Showme ').height=Showme.document.body.scrollHeight
------解决方案--------------------楼主去掉height=900试试可以吗?
------解决方案-------------------- <iframe name= "pindex " src= "scr.asp " frameborder=false scrolling= "auto " width= "700 " height= "100% " onload= "document.all[ 'pindex '].style.height=pindex.document.body.scrollHeight " >  </iframe>  
 如果有多个内框架就把name改为不同值,并同时修改其它2个地方的值就可以了,这样可以在一个页面中显示多个框架并自动调整高度 
 宽度固定的,如果内容宽度大了是可以用滚动条来查看的.