Espero que puedan darme un mano!
Estoy probando una estructura en html.
Un container,un sidebar un content con un slider y un footer.
El problema esta en que el div content queda abajo del div sidebar aunque aplique los float.
Cual es el error? Alguna sugerencia y ayuda?
Muchas gracias!
Código HTML :
<!DOCTYPE html> <html lang="es"> <head> <meta charset="utf-8"> <title>html</title> <style type="text/css"> html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0} body {background-color: #f1f1f2;} #container {width:960px;margin: 0px auto;background-color:#b2b4b6;} #sidebar {width:220px;height:250px;background-color:#f13d3a;} #logo {background: url(images/logo.png) no-repeat;width:164px;height:93px;} #content {width:740px;height:250px;background-color:#FFFFFF;float:right;} #txtslider {width:240px;height:250px;background-color:#FFCCFF;float:left;} #slider {width:500px;height:250px;background-color:#FFFFFF;float:right;} #footer {clear:both;width:960px;background-color:#bd3c34;} </style> </head> <body> <div id="container"> <div id="sidebar"> <div id="logo"></div> </div> <div id="content"> <div id="txtslider">TXT</div> <div id="slider">Slider</div> </div> <div id="footer">Footer</div> </div> </body> </html>