Hi I want to do the following layout with CSS - just started learning:
Below is my code. Container is the biggest one holding everything. Content 1, 2, 3 don't line up the way I want them; instead they're pushed to the bottom of the page. Could you help me fix it?
Thanks
Code:#container { background-color:#ffffff; width:760px; border:1px solid; margin:0 auto; text-align:left; } #logo { background:url(img/top_gradient.jpg) top left no-repeat; background-color:#cfd6dc; font: 10px; color:#333333; text-align: right; height:51px; margin:10px 0 0 0;} #leftnav { float:left; margin:0; background-color:#eeeeee; width:180px; height:705px; } #banner { float: left; margin:0 0 4px; height: 50px; text-align:right; } #content1 { float: left; margin:0 0 4px; height: 260px; text-align:right;} #content2 { float: left; margin:0 0 4px; height: 200px; text-align:right;} #content31 { float: left; margin:0 0 4px; height: 180px; width:260px; text-align:left;} #content32 { float: left; margin:0 0 4px 10px; height: 180px; width:260px; overflow: auto;}




Reply With Quote
Bookmarks