Ver Mensaje Individual
  #14 (permalink)  
Antiguo 08/08/2011, 12:05
Avatar de ZoroRoronoa
ZoroRoronoa
 
Fecha de Ingreso: marzo-2011
Ubicación: California, USA
Mensajes: 824
Antigüedad: 13 años
Puntos: 116
Respuesta: Background Home

Buen ya siendo claros para darte una solucion final.

Este codigo te permitira poner la imagen de fondo al 100% como lo quieres
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" lang="es-es">
  3. <title>Zoro Roronoa</title>
  4. <style type="text/css">
  5. * {margin:0; padding:0; border:0; position:relative;}
  6.  
  7. img#bgimg {
  8. width:100%;
  9. height:100%;
  10. position:fixed;
  11. top:0;
  12. left:0;
  13. }
  14. </head>
  15. <img src="111.jpg" id="bgimg" alt="fondo" />
  16. </body>
  17. </html>

Para hacer el efecto hover, necesitamos cambiar el valor del atributo src="" por la ruta de la otra imagen, entonces este efecto hover no se puede lograr con CSS, asi que se necesitara javascript :)

Saludos.

PD: me ganaste en post Ag666
__________________
Programador jQuery & PHP