日期:2014-05-17  浏览次数:20788 次

怎么让框架frame里只允许垂直滚动条不允许水平滚动条
怎么让框架frame里只允许垂直滚动条不允许水平滚动条。

scrolling只有yes   no   auto

------解决方案--------------------
style= "overflow-x:hidden;overflow-y:auto "
------解决方案--------------------
all the same a...

你自己去看看就知道了。。。。
------解决方案--------------------
<frameset cols= "200,* " frameborder=yes border= "0 " framespacing= "0 ">
<frame src= "left.html " name= "leftFrame " scrolling= "No " noresize= "noresize " id= "leftFrame " title= "leftFrame ">
<frame src= "main.html " scrolling= "yes " name= "mainFrame " id= "mainFrame " title= "mainFrame " style= "overflow-x:hidden;overflow-y:auto ">
</frameset>

这样就可以了