onload="this.height=config.document.body.scrollHeight" 把这句去掉就可以了。你再查查是什么 原因

解决方案 »

  1.   


    <table cellspacing=1 cellpadding=0 width="100%" border=0 height="300px" bgcolor="#999999">
      <tr> 
        <td  width=130px bgcolor="#FFFFFF"> <iframe frameborder=0 id=BoardTitle scrolling=no 
          src="text.htm" style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH:130px; class="font_12"></iframe> 
        </td>
    <td bgcolor="#ffffff">&nbsp;</td>
      </tr>
    </table>
      

  2.   


    <table cellspacing=0 cellpadding=0 width="100%" border=1 bordercolor="#000000">
      <tr>

    <td class="tdnoright" width=130px>
        <iframe border=0 src="test.htm" name="config" scrolling="no" style="width:100%;margin-right:0;margin-bottom:0;margin-top:0;margin-left:0" frameborder=0 onload="this.height=config.document.body.scrollHeight">
        </iframe>
    </td>
     </tr>
     </table>