1、只有水平滚动条:
    
   
<span style="font-size:18px;color:#666666;"><iframe frameborder="0"   scrolling="auto" src="index.html" > //auto、yes
index.html中:
body{overflow-y:hidden;}  //隐藏了垂直的</span>
    
    
   
    
     
    
   
    
     2、只有垂直滚动条:
    
   
<iframe frameborder="0"   scrolling="auto" src="index.html" > //auto、yes
index.html中:
body{overflow-x:hidden;}  //隐藏了水平的
    
     3、水平、垂直都没有:
    
   
    
    
   
<iframe frameborder="0"   scrolling="auto" src="index.html" > //auto、yes
index.html中:
body{overflow:hidden;}  //隐藏了水平的、垂直的
    
     或
    
   
<iframe frameborder="0"   scrolling="no" src="index.html" > //auto、yes
index.html中:
无需任何代码
    
     
    
   
    
     
    
   
    
     
    
   
 
版权声明:本文为u014316363原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
