Ver Mensaje Individual
  #3 (permalink)  
Antiguo 27/12/2012, 11:41
sebastopols
 
Fecha de Ingreso: marzo-2011
Mensajes: 342
Antigüedad: 13 años, 1 mes
Puntos: 97
Respuesta: Superponer una imagen encima de otra en CSS

Podrías probar la propiedad z-index, algo así, saludos :

Código HTML:
Ver original
  1. <!DOCTYPE html>
  2.  
  3. img
  4. {
  5. position:absolute;
  6. left:0px;
  7. top:0px;
  8. z-index:-1;
  9. }
  10.  
  11. .img2
  12. {
  13. position:absolute;
  14. left:40px;
  15. top:40px;
  16. z-index:-3;
  17. }
  18.  
  19. </head>
  20.  
  21.  
  22. <img src="w3css.gif" width="100" height="140" />
  23. <img src="w3css.gif" width="100" height="140" class="img2"/>
  24.  
  25.  
  26. </body>
  27. </html>