Ver Mensaje Individual
  #11 (permalink)  
Antiguo 03/06/2009, 09:50
kseso?
Colaborador
 
Fecha de Ingreso: junio-2007
Mensajes: 5.798
Antigüedad: 16 años, 10 meses
Puntos: 539
Respuesta: Poner enlace a una foto por CSS

Tienes razón. Las prisas y no verificar la respuesta

Mira este código y ya comentas...
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>todo el coco es un enlace</title>
  4. <style type="text/css">
  5. * {margin:0; padding: 0; position: relative;}
  6. html, body {
  7. background-color: #cdcdcd;
  8. }
  9. #header {
  10. width: 90%;
  11. height: 150px;
  12. background-color: #444;
  13. overflow:hidden;
  14. margin: 10px auto 0;
  15. }
  16. #header a {
  17. width: 100%;
  18. height: 150px;
  19. display: block;
  20. margin:0;
  21. padding:0;
  22. z-index: 5;
  23. text-decoration: none;
  24. }
  25. </head>
  26. <div id=header>
  27. <a href="http://www.forosdelweb.com/f53/poner-enlace-foto-por-css-705765/"></a>
  28. </div>
  29. </body>
  30. </html>

Un saludo
__________________
Por una web con mucho estilo
+++ CUENTA ABANDONADA. ¿la quieres? +++