I have the following HTML markup
<div id="main">
<div id="div1" style="position:relative;"></div>
<div id="div2" style="z-index:-1; position:relative; overflow:auto; height:500px;"></div>
</div>
In div2
I load data dynamically and the content could exceed the divs height, so I used a overflow:auto
property to show a scrollbar. The problem is that the scrollbar appears in all browsers, but it is working just in IE8/9, FireFox and Chrome. In other browsers you see
the scrollbar, but without functionality.