Ver Mensaje Individual
  #3 (permalink)  
Antiguo 24/05/2009, 06:49
kseso?
Colaborador
 
Fecha de Ingreso: junio-2007
Mensajes: 5.798
Antigüedad: 16 años, 11 meses
Puntos: 539
Respuesta: Poner imagen y texto encima de un reproductor?

No es necesario utilizar z-indez.
Mira el siguiente código (sólo me he permitido la "frivolidad" de la transparencia:
Código html:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es-es">
  3. <title>play sobre imagen</title>
  4. <style type="text/css">
  5. html, body {
  6. background-color: #cdcdcd;
  7. }
  8. #contenedor{
  9. background-color: #cdcdcd;
  10. position: absolute;
  11. }
  12. #menu {
  13. position:absolute;
  14. width: 100px;
  15. height:100px;
  16. left: -50px;
  17. top: 50%;
  18. left:50%;
  19. margin-left: -50px;
  20. margin-top:-50px;
  21. opacity: .7;
  22. }
  23. </head>
  24. <div id="contenedor">
  25. <img src="http://share.skype.com/sites/es/skype/skype32ready.jpg" />
  26. <div id="menu">
  27. <img src="http://www.norwichcanoeclub.org.uk/images/Play-icon256-by-nagaya.png" width="100" height="100" />
  28. </div>
  29. </div>
  30. </body>
  31. </html>
__________________
Por una web con mucho estilo
+++ CUENTA ABANDONADA. ¿la quieres? +++

Última edición por kseso?; 24/05/2009 a las 06:54