Ver Mensaje Individual
  #4 (permalink)  
Antiguo 25/04/2011, 13:55
Avatar de Most
Most
 
Fecha de Ingreso: marzo-2009
Mensajes: 642
Antigüedad: 15 años, 1 mes
Puntos: 6
Respuesta: me sale el contenido corrido, ¿por que?

Cita:
Iniciado por ZoroRoronoa Ver Mensaje
pues no te puedo ayudar muy bien, por que no pones la imagen y el codigo html.

por que veo que pones en el ancho (width) 932px.
y es por eso que sale corrido.

y no podria darte una respuesta concreta, ya que pudiera ser, que los metas en otro contenedor y le des la propiedades necesarias.

o que el #cuerpo le pongas otro ancho, etc... son varias respuestas.
Asi que pon el codigo

Te lo pongo todo aqui:

HTML:
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. <LINK href="imagenes/css.css" rel="stylesheet" type="text/css">
  5. <title>Documento sin título</title>
  6. </head>
  7.  
  8. <div id="cabecera">
  9. <div id="cabecera_img"></div>
  10. </div>
  11. <div id="cuerpo" align="center">
  12. AQUI IRA TODO EL CONTENIDO
  13. </div>
  14. </body>
  15. </html>


CSS:
Código CSS:
Ver original
  1. @charset "utf-8";
  2. /* CSS Document */
  3.  
  4. #cabecera {
  5.     background: #9b0000;
  6.     width: auto;
  7.     height: 39px;
  8.     border-bottom: #cc6767 2px solid;
  9. }
  10.  
  11. #cabecera_img {
  12.     background: url(cabecera.png);
  13.     width: 1024px;
  14.     height: 40px;
  15.     margin: 0 auto;
  16. }
  17.  
  18. body
  19. {
  20.     margin-left: 0px;
  21.     margin-top: 0px;
  22.     margin-right: 0px;
  23.     margin-bottom: 0px;
  24. }
  25.  
  26.  
  27. #cuerpo {
  28.     background:url(cuerpo.png) repeat-y;
  29.     height: auto;
  30.     width: 932px;
  31.     margin: 0 auto;
  32. }



IMAGEN: