Reputation: 20464
I have set up a scrollable div that until recently was scrolling and now appears to be jammed at the top. The only difference is the addition of position: relative;.
div
position: relative;
Here is a FIDDLE
http://jsfiddle.net/PMzcB/
Any ideas why?
Upvotes: 0
Views: 51
Reputation: 98738
The z-index:-1; was the problem.
z-index:-1;
http://jsfiddle.net/PMzcB/13/
Reputation: 1006
Change z-index to a positive value.
Upvotes: 2