On hover event I show a div which has absolute positioning, at the bottom of that div I need a fixed div.
Have a look at the image what I want to achieve.
I have following code for this:
CSS
.showpro{position:absolute;z-index:999;width:500px;height:auto;display:none;max-height:500px;} .bottom{width:500px;position:fixed;bottom:0;left:0;} CODE
<div class='showpro'> <div class='top'> </div> <div class='bottom'> </div> </div> With this code, it comes at left-bottom corner of Container div. Can anyone say why? Any help?