Ver Mensaje Individual
  #1 (permalink)  
Antiguo 31/03/2009, 12:46
Avatar de Joni2Back
Joni2Back
 
Fecha de Ingreso: marzo-2009
Mensajes: 146
Antigüedad: 15 años, 1 mes
Puntos: 1
Pregunta Problema con footer

Hola gente
Tengo un problema con un footer, al estar la web maximizada o con tamaño superior a 1024x768 todo bien
pero cuando la achico, el footer tambien se achica como si estuviera a un 80% de ancho, probe de todo pero nada lo resuelve, estare haciendo algo mal?

Aca va una imagen del problema y el codigo css+html
radiobot.com.ar/images/wtf.jpg


Código HTML:
Ver original
  1. <div id="general">
  2.   <div id="header"></div>
  3.   <div id="contenido"> </div>
  4.   <div id="footer"> </div>
  5. </div>
Código CSS:
Ver original
  1. html, body, #general {
  2.     min-height: 100%;
  3.     width: auto;
  4.     height: 100%;
  5.     margin:0;
  6.     padding: 0; }
  7.    
  8.    
  9. body {
  10.     text-align:center;
  11.     background: #D9F9FF url('../images/bg.png');
  12.     background-position:top center;
  13.     background-repeat: repeat-x;
  14.     font-family:'Palatino Linotype'; }
  15.    
  16.    
  17. html>body, html>body #general { height: auto; }
  18.  
  19.  
  20.  
  21. #general {
  22.     position: absolute;
  23.     width:100%;
  24.     top: 0;
  25.     left: 0;
  26.     text-align:left; }
  27.  
  28. #header {
  29.     background:  url('../images/header.png');
  30.     background-position:top right;
  31.     background-repeat: no-repeat;
  32.     margin:0 auto 0 auto;
  33.     width:850px;
  34.     height:165px;}
  35.    
  36. #contenido {
  37.     width: 920px;
  38.     margin-bottom: 11em;  }
  39.    
  40.    
  41. #footer {
  42.     position: absolute;
  43.     bottom: 0;
  44.     width: 100%;
  45.     height:180px;
  46.     color:#FFFFFF;
  47.     background: url('../images/footer.gif');
  48.     background-position:bottom center;
  49.     background-repeat: repeat-x;
  50.     margin: 0px 0px 0px 0px ; }