兼容各种浏览器的上下滚动代码
直接切入正题
红色的表示为要注意统一的。
蓝色是表示要更改的。
内容高度一定要大于box1的高度否则不会滚动,本框架用的是phpcms,大家可根据自己的框架更改循环。
演示地址http://www.er-china.com/index.php?m=content&c=index&a=lists&catid=789
zsbox" style="width:700px; height:288px; overflow:hidden;">
box1" >
box2">