这是主页面index
====================================================================================<body>
  <jsp:include page="top.jsp"></jsp:include>
  <table width="100%" height="50">
    <td height="100%"></td>
  </table>
  <table width="100%" height="700" border="0" cellpadding="0" cellspacing="0">
    <iframe name="ifrname" width="100%" height="700" frameborder="no" Scrolling="no" src="">
    </iframe>
  </table>
</body>=======================================================================================test页面
<table width="760" height="1300" border="0" scroll="auto">
...................................
</table>
主页面,没有滚动条,目的达到..问题:
在IFRAME里面,比如有个TEST页面,他的高度是1300的,这样的话,IFRAME这个范围,就应该用到滚动条,但是这个滚动条,没有全部把页面的东西都显示出来,只能滚动一部分,最底下的内容还是不能通过滚动条显示(就是滚动条也不能全部把内容显示),请问,应该通过什么办法可以把TEST这个页面的内容全部显示出来?

解决方案 »

  1.   

    test页面,height改成700,或者在外面在包一层DIV,height为700
    <table width="760" height="700" border="0" scroll="auto">
    ...................................
    </table> 
      

  2.   

    但是,这个TEST的高度,是超过INDEX的,所以才会出现这个情况,其他页面,因为高度都没问题,所以不会出现上边的情况
      

  3.   

    够长的情况不要滚动条,不够长就加上? 试试这个:主画面:    <style type="text/css"> 
            .class1{
            border:solid 1px;
            width:600px;
            height:400px;   
            }
        </style>
        <iframe src="iframe.html" class="class1"></iframe>
    iframe:      <table  border="0" scroll="auto"> 
            ...
         </table>