Ver Mensaje Individual
  #4 (permalink)  
Antiguo 05/11/2007, 11:53
Avatar de DragonX
DragonX
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Funkyland
Mensajes: 8.433
Antigüedad: 21 años, 10 meses
Puntos: 177
Re: superposicion de 2 capas dentro de otra capa

probá con esto:

Código HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
  <head>
    <title>New Document</title>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
  </head>
  <style>
#capacontenedora{
  postition:relative;
  border:1px #CCCCCC solid;
  width:155px;
  height:102px;
  background-color:#00f;
}
#contenedorfoto{
  postition:absolute;
  width:145px;
  height:92px;
  z-index: 10;
  background-color:#f00;
}
#contenedortexto{
  postition:absolute;
  right:20px;
  top:20px;
  width:55px;
  z-index:50;
  background-color:#0f0;
}
  </style>
  <body>

<div id="capacontenedora">
<div id="contenedorfoto">
  <img src="fotos/thumb/foto.jpg" width="145" height="92" />

<div id="contenedortexto">rs</div>
</div></div>  
  </body>
</html> 
__________________
Desarrollos dosLotos
Calendario Maya, Meditación, Osho