IE7 中的 jScrollPane 溢出问题
我在客户端站点上使用 jScrollPane,并认为一切都很好,直到我在 IE7 中进行测试。似乎由于某种原因,窗格没有隐藏溢出。 IE8和所有Mac浏览器都可以。 IE7就是这个问题。滚动条显示得很好,但内容(很长的 ul)在 div 之外流动,导致主页也有滚动条。看看我在这里的意思:
http://mhr.dandelion-patch.com
非常感谢任何见解。
鲍勃
I'm using jScrollPane on a client site and thought all was good until I tested in IE7. It seems that for some reason the pane isn't hiding the overflow. IE8 and all Mac browsers are fine. IE7 is the problem. Scrollbar shows up just fine, but the content (a long ul) is flowing outside of the div, and causing the main page to have scrollbars as well. See what I mean here:
http://mhr.dandelion-patch.com
Any insight is greatly appreciated.
Bob
你可以试试这个代码
.scroll-pane-left, .scroll-pane-left2 {宽度:100%;高度:280像素;溢出:自动;位置:相对;}
you can try this code
.scroll-pane-left, .scroll-pane-left2 {width:100%; height:280px; overflow: auto;position: relative;}