In this example box01 and box02 have absolute positioning applied .box01{position:absolute; top:0; left:0;}
but the parent box has no positioning specified
.box02{position:absolute; top:0; left:420px;} .mainbox{width:500px; background:#e7e1aa;}
box01
box02