在listlc.php加入<body style="overflow-x:hidden">

解决方案 »

  1.   

    包含iframe 页面body里面的内容<table>
      <tr>
        <td width="661" height="401"><iframe width="100%" height="461" frameborder="0" marginheight="0" marginwidth="0" src="listlc.php"></iframe></td>
      </tr>
      
    </table>
      

  2.   

    你是不是弄错了,<body style="overflow-x:hidden">加在listlc.php中,而不是包含iframe的页面中。
      

  3.   

    就是在listlc.php中
    我觉得很邪门
      

  4.   

    同志们,谁能帮我解决这难题,我送他一本
     Code Reading the Open Source Perspective.pdf
    刚下载下来的
      

  5.   

    在iframe 的属性里加上 scrolling="yes"
      

  6.   

    不会吧,偶试了可以啊.
    <body style="overflow-x:hidden">要不.再试一下这个.listlc.php<script language="Javascript"> 
    function window.onload() 

    parent.document.all("in").style.width=document.body.scrollWidth+10; 
    }
    </script>
      

  7.   

    shit!!!!!
    刚才到IE5.5试了一下,正常
      

  8.   

    <script>
    function autoResize()
    {
    try
    {
    document.all["test"].style.height=test.document.body.scrollHeight;
    }
    catch(e){}
    }
    </script><iframe id=test width="100%" height="100" frameborder=0 marginheight="0" marginwidth="0" scrolling="no" style="height:expression(1); aho:expression(autoResize());" src="http://3c-studio.net"></iframe>
    用这个~自动调整大小!
      

  9.   

    有这么复杂么?
    在listlc.php中
    <body style="overflow-x:hidden">就可以了,但有一个问题就是,可能会隐藏掉一些东西,不过楼主说了宽度没有iframe多,但listlc.php中的页边距一定不会为0吧,我想设置为0就可以了
    对scroll的处理,我认为要把源文件<html>上面的那些像:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    删掉才成,要不就没有用了,
    所以,也许是楼主用了dreamweaver mx等来写代码的吧!
    一家之言,请指正
      

  10.   

    楼上兄台,你真的真的太牛了!!!!!!!!!!!!!!!111
    就是因为这个
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    作怪,把他删掉就行了!!!!!!!!!!