Puede usar el posicionamiento relativo para superponer sus elementos. Sin embargo, el espacio que normalmente ocupan todavía será reservado para el elemento:
<div style="background-color:#f00;width:200px;height:100px;">
DEFAULT POSITIONED
</div>
<div style="background-color:#0f0;width:200px;height:100px;position:relative;top:-50px;left:50px;">
RELATIVE POSITIONED
</div>
<div style="background-color:#00f;width:200px;height:100px;">
DEFAULT POSITIONED
</div>
En el ejemplo anterior, habrá un bloque de espacio en blanco entre los dos 'por defecto posicionado' elementos. Esto se debe a que el elemento "POSICIONAMIENTO RELATIVO" todavía tiene su espacio reservado.
Si utiliza el posicionamiento absoluto, sus elementos no tendrán ningún espacio reservado, por lo que su elemento en realidad se superponen, sin romper su documento:
<div style="background-color:#f00;width:200px;height:100px;">
DEFAULT POSITIONED
</div>
<div style="background-color:#0f0;width:200px;height:100px;position:absolute;top:50px;left:50px;">
ABSOLUTE POSITIONED
</div>
<div style="background-color:#00f;width:200px;height:100px;">
DEFAULT POSITIONED
</div>
Por último, se puede controlar qué elementos están en la parte superior de la otros mediante el uso de z-index:
<div style="z-index:10;background-color:#f00;width:200px;height:100px;">
DEFAULT POSITIONED
</div>
<div style="z-index:5;background-color:#0f0;width:200px;height:100px;position:absolute;top:50px;left:50px;">
ABSOLUTE POSITIONED
</div>
<div style="z-index:0;background-color:#00f;width:200px;height:100px;">
DEFAULT POSITIONED
</div>
Parece algo que se puede hacer con el posicionamiento. ¿Tienes algún sitio de referencia? –