搞了半天了 终于使IFRAME的高度不影响原来页面的效果了 ,下面是IFRAME代码 ,增加ONLOAD 就行。
<iframe src="../GradeManage/homepage.jsp?mustclassKey=<%=mustclassKey%>" scrolling="no" frameborder='0' id="teacheroperation" name="teacheroperation" class='efoundiframe' width="770" οnlοad="document.all('teacheroperation').style.height=teacheroperation.document.body.scrollHeight;" ></iframe>