Ver Mensaje Individual
  #14 (permalink)  
Antiguo 18/10/2005, 17:47
Avatar de Rafael
Rafael
Modegráfico
 
Fecha de Ingreso: marzo-2003
Mensajes: 9.028
Antigüedad: 21 años, 1 mes
Puntos: 1826
A ver si así, a mí ya me funcionó.


Código PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<
html><head><title>Posici&#243;n</title></head>

<body>
<
center>
<
DIV id="Layer1" style="width:400px; background-color: #CCC;"

<
div id="Layer2" style="
background-color: #F00; width:200; height:200;
position:absolute;
margin: 20px;
z-index:1;>
<img src="
imagenes/imagen.gif" width="200" height="200"> 
</div> 

<table width="
100%" height="1000" border="0" cellpadding="0" cellspacing="0"> 
<tr> 
<td width="
200" height="1000" bgcolor="#006600">&nbsp;</td> 
<td width="400">&nbsp;</td
</
tr></table

</
DIV
</
center>

</
body></html
Estoy haciendo un truco por el momento, posicionar tu cuadro flotante Rojo a través de su margen.

Luego dedico un rato, tengo un menú que si tiene anidada la posición... pero el código está complejo y ya ni me acuerdo como se hizo.

Última edición por Rafael; 18/10/2005 a las 18:07