I am trying show "popup" windows that appear when the user hovers the cursor over a div. Everything is working fine, except when I added a scrollbar to my div. The CSS code to show the scrollbar is something like:
.scroll-menu {
max-height: 100px;
overflow-x: hidden;
overflow-y: scroll;
}
Here is an image before including the .scroll-menu class,

And here is an image after including the CSS class.

I found this article where the author says why z-index in my scenario: http://www.satya-weblog.com/2012/01/css-z-index-not-working.html
Now, my question is: How can I solve this issue? Is there any way to get working z-index and overflow?
overflow-x: hidden;