Hi all ... I have these two divs one inside another and I have the styles defined .. encapsulating one is relative and the child is absolute .. Now isn't the child supposed to be positioned according to the left top corner of the outer div, #RightSection? .. but its doing it according to the browser window ... any leads? thx in advance
<div id="RightSection">
<div id="Panels">
</div>
</div>
#RightSection
{
position: relative;
}
#Panels
{
position: absolute;
background-color: Blue;
width: 100px;
height: 100px;
z-index: 9000;
}