Two Overlapping divisions, but upper one is unscrollable

Posted by FREAKENGINEER on Stack Overflow See other posts from Stack Overflow or by FREAKENGINEER
Published on 2012-12-16T17:01:04Z Indexed on 2012/12/16 17:03 UTC
Read the original article Hit count: 112

Filed under:

I have two divisions in my html page with their respective css

<html>
<head>
#lowerone
{position:absolute; bottom:25px; right:25px; height:300px; width:300px;}
#upperone
{position:absolute; bottom:25px; right:25px; height:300px; width:300px; overflow:scroll;}
</head>
<body>
<div id="lowerone">
</div>
<div id="upperone">
<img src="/bg.3.jpg" />
</div>
</body>
</html>

But the upper div i.e. the UPPERONE is unscrollabe.. How to make it scrollable?

© Stack Overflow or respective owner

Related posts about css