Ver Mensaje Individual
  #11 (permalink)  
Antiguo 05/08/2010, 12:34
TheDark03
 
Fecha de Ingreso: mayo-2010
Ubicación: Lima, Peru.
Mensajes: 176
Antigüedad: 14 años
Puntos: 6
Respuesta: Altura dinámica de un div

wenooo esto ya tiene q acabar de una vez....

EJEMPLO:

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Documento sin t&iacute;tulo</title>
  5. </head>
  6. *{
  7. margin: 0;
  8. padding: 0;
  9. }
  10. #wrapper{width:1024px;height:auto;margin:0 auto;}
  11. #content{width:1022px;height:500px;border:1px solid #FF0000;}
  12. .contentsuperior{margin:0 auto;height:257px;width:1020px;border:1px solid #000000;}
  13. .contentmap{float:left;width:260px;height:245px;border:1px solid #666666;margin:5px 0 0 5px;}
  14. .contentbanner{float:left;width:740px;height:245px; background:url(images/banner/banner2.jpg) no-repeat;margin:5px 0 0 5px;border:1px solid #666666;}
  15. <div id="wrapper">
  16. <div id="content">
  17.         <div class="contentsuperior">
  18.             <div class="contentmap"></div>
  19.             <div class="contentbanner"></div>
  20.         </div>
  21. </div>
  22. </div>
  23. </body>
  24. </html>

Saludos...

PD:creo q no has reseteado tu css