when you specify absolute positioning, you need to give it the coordinates
#magic{
position:absolute;
width:20px;
}
you specify x pos and y pos as 0 and 0, the outer tag is configured according to the inner label // if you do not specify the width or height for the outer tag
position:absolute;
left:0; // x pos
top:0; // y pos
width:20px;
}
source
share