Ver Mensaje Individual
  #4 (permalink)  
Antiguo 27/12/2009, 12:06
Avatar de brunob23
brunob23
 
Fecha de Ingreso: agosto-2009
Mensajes: 77
Antigüedad: 14 años, 8 meses
Puntos: 0
Respuesta: pie con ancho del navegador

hablé de mas, acabo de descubrir un problema, el div contenedor queda como contraido de los bordes, como con un margen en todos los lados.

como lo soluciono? dejo una captura y el codigo por si sirve de 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. <style type="text/css">
  6.  
  7. #contenedor {
  8. width: 100%;
  9. height: 1050px;
  10. background-color: #f9d7dd
  11. }
  12.  
  13.  
  14. #header {
  15. width: 800px;
  16. height: 150px;
  17. margin: 0 auto;
  18. background: #D5D5D5}   
  19.  
  20. #animacion {
  21. width: 800px;
  22. height: 300px;
  23. margin: 0 auto;
  24. background: #7F0000}
  25.  
  26. #texto {
  27. width: 800px;
  28. height: 400px;
  29. margin: 0 auto;
  30. background: #D6F52D;
  31. }
  32.  
  33. #pie {
  34. width: 100%;
  35. height: 200px;
  36. background-color: #7A7A7A;
  37. }
  38.  
  39. </head>
  40.  
  41. <div id="contenedor">
  42.   <div id="header">Colocar aquí el contenido para  id "header"</div>
  43.   <div id="animacion">Colocar aqui el contenido para id "animacion"</div>
  44.   <div id="texto">Colocar aqui el contenido para id "texto"</div>
  45.   <div id="pie">Colocar aqui el contenido para id "pie"</div>
  46. </div>
  47. </body>
  48.  
  49. </html>






saludos
__________________
http://www.pradohosting.com