Ver Mensaje Individual
  #40 (permalink)  
Antiguo 09/07/2009, 07:49
Avatar de willyfc
willyfc
 
Fecha de Ingreso: octubre-2008
Ubicación: Santa Cruz - Bolivia
Mensajes: 662
Antigüedad: 15 años, 6 meses
Puntos: 40
Respuesta: posicionamiento absoluto de capas?

Veo que no leíste el post donde te coloque el último código:

Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
.contenedor{position:relative;background:yellow;border:1px solid blue;height:100px; margin:0 0 15px 0;}
.layer/*Como tu le llamas*/{position:absolute; top:50px;left:50px;height:100px;width:100px;}
</style>
</head>
 
<body>
<div class="contenedor" style="z-index:2;">contenedor1
<div class="layer" style="z-index:2;background:blue;">
z-index:2
<br><br><br>layers de igual dimension
</div>
</div>
 
 
<div class="contenedor" style="z-index:1;">contenedor1
<div class="layer" style="z-index:1;background:red;">
z-index:1
<br><br><br><br>aaaaaaa
</div>
</div>
</body>
</html>
Ves a lo que me refería con la de la actitud?, revisa los z-index y compara los mios con los tuyos, mi resultado es este:

__________________
WFC
codigo82