les dejo una imagen, tengo un div "content" que debería ocupar todo el cuerpo de la pagina con blanco de fondo pero no funciona, me queda así:
http://imageshack.us/photo/my-images/5/rslj.jpg/
y debería quedar así:
http://imageshack.us/photo/my-images/689/5jgp.jpg/
Les dejo el código:
Código HTML:
Ver original
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"/> <link rel="stylesheet" type="text/css" href="css/style.css" /> <link rel="stylesheet" href="css/lean-slider.css" type="text/css" /> <link rel="stylesheet" href="css/sample-styles.css" type="text/css" /> </head> <body> <div id="site"> <div id="wrapper"> <div id="content"> <div id="main-wrapper"> <div class="slider-wrapper"> <div id="slider"> <div class="slide1"> <img src="images/slider/1.jpg" alt="" /> </div> <div class="slide2"> <img src="images/slider/2.jpg" alt="" /> </div> <div class="slide3"> <img src="images/slider/3.jpg" alt="" /> </div> <div class="slide4"> <img src="images/slider/4.jpg" alt="" /> </div> </div> <!--slider--> </div> <!--slider-wrapper--> <div id="main-home"> <div id="main-home-left"> <div class="loUltimo-news"> <ul class="loUltimo-news"> <li> <div class="loUltimo-news-image"> </div> <div class="loUltimo-news-text"> </div><!--headlines-info--> </li> <li> <div class="loUltimo-news-image"> </div> <div class="loUltimo-news-text"> </div><!--headlines-info--> </li> <li> <div class="loUltimo-news-image"> </div> <div class="loUltimo-news-text"> </div><!--headlines-info--> </li> <li> <div class="loUltimo-news-image"> </div> <div class="loUltimo-news-text"> </div><!--headlines-info--> </li> </ul> <div id="full-news"> </div> </div><!--loUltimo-news--> </div><!--main-home-left--> </div><!--main-home--> </div><!--main-wrapper--> </div><!--content--> </div><!--site--> </div><!--wrapper--> </body> </html>
Código CSS:
Ver original
/* contenido del header */ /* divs contenedores del inicio para las noticias */ #site { float: left; width: 100%; } #wrapper { background: url(../images/0rbital_by_nucu.png) no-repeat fixed; float: left; position: relative; width: 100%; } #content { background: none repeat scroll 0 0 #FFF; border-left: 1px solid #111111; border-right: 1px solid #111111; margin: 100px auto; padding: 20px 10px 20px 10px; position: relative; width: 958px; } #main-wrapper { float:left; width:100%; } #main-home { background:#FFF; float:left; width:440px; } #main-home-left { background: #fff; border-right: 1px dotted #ccc; float: left; margin-right: 20px; margin-top:20px; padding-right: 19px; position: relative; width: 420px; }