Ver Mensaje Individual
  #4 (permalink)  
Antiguo 04/11/2011, 00:13
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 10 meses
Puntos: 1567
Respuesta: duda sobre el background

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <title>titulo</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6.  
  7. <style type="text/css">
  8. /*<![CDATA[*/
  9.  
  10. html, body{
  11. height :100%;
  12. padding: 0px;
  13. margin: 0px;
  14. }
  15. body {
  16. background-image: url('fondo.jpg');
  17. }
  18.  
  19. div{
  20. background-color: cyan;
  21. width: 900px;
  22. height: 100%;
  23. margin: 0px auto;
  24. }
  25.  
  26. /*]]>*/
  27. </head>
  28. <div>
  29. Contenido
  30. </div>
  31. </body>
  32. </html>

solo tenes que poner tu imagen

Saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.