Ver Mensaje Individual
  #9 (permalink)  
Antiguo 30/08/2010, 12:01
TheDark03
 
Fecha de Ingreso: mayo-2010
Ubicación: Lima, Peru.
Mensajes: 176
Antigüedad: 13 años, 10 meses
Puntos: 6
Respuesta: Centrar div alineado al bottom

No sé a que va orientado el trabajo que deseas realizar, pero tal vez te ayude en algo

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. *{
  6. margin:0 auto;
  7. padding:0 auto;
  8. }
  9.  
  10. #contenedorCuerpo{
  11.    width:1024px;
  12.    height:624px;
  13.    position:absolute;
  14.    bottom:0;
  15.    right:10%;
  16.    left:10%;
  17.    border:1px solid #FF0000;
  18. }
  19. </head>
  20.  
  21. <div id="contenedorCuerpo">
  22.  
  23. </div>
  24. </body>
  25. </html>

Claro que como tu contenedor tiene la propiedad absolute sabrás que pasara después.


Saludos DTB