Consider The Following case,
<div id="d1" style="position:relative">
<div id="d2" style="position:absolute">
<div id="d3" style="position:absolute">
</div>
</div>
</div>
By Referring the Link,
I Just confirmed that the <div id="d3">
will be relative to the <div id="d2">
.
Even if we given position as absolute for <div id="d2">
.
Similarly what would it assumes when we place <div>
s like below? (relative <div>
inside a absolute <div>
)
<div id="d1" style="position:relative">
<div id="d2" style="position:absolute">
<div id="d3" style="position:relative">
</div>
</div>
</div>
can anybody explain this.?