让框架的整个页面有滚动条,也可以实现其中的任一框架滚动

 框架都是整屏显示,最近做一个网页,要用到它,一屏显示就把很多内容给截掉我,我想啊想,想啊想,就用下面的方法试了一下,结果出来了:

 

<table width="1002px" style="border:0px">
<tr>
<td width="100%" height="698px">
<iframe name="top" style="border:0px;" src="Frame1.html" width="100%" height="100%" marginwidth="0"   marginheight="0"  scrolling="no" frameborder="0"></iframe></td>
</tr>
<tr>
<td width="1002px" height="800px"><iframe style="border:1px solid #DDDDDD;" name="main" src="Frame_main.html" width="100%" height="100%" marginwidth="0"  marginheight="0" frameborder="0"></iframe></td>
</tr>
<tr>
<td width="1002px" height="1310px"><iframe style="border:0px;" name="bot" src="Frame3.html" width="100%" height="100%" marginwidth="0"   marginheight="0"  scrolling="no" frameborder="0"></iframe></td>
</tr>
</table>

 

如果你想要它们其中的某个框架有滚动条的话,在框架里加上  scrolling="yes"  就好了!

 

本人对框架的了解也不深,各位高手如果有更好的方法,请指教!

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值