<!DOCTYPE html> <html> <head> </head> <style> #container { width: 1200px; display: block; margin:0 auto; } #glowna:after { content:''; display:block; clear:both; } #top1 { width:1150px; height: 100px; background-color:lightblue; margin-left: 0px; // padding:2px; margin-top: 10px; } #table1 { float:left; width:5%; height: 500px; background-color:lightblue; margin-left: 0px; // padding:2px; margin-top: 25px; } #table2 { float:left; width:20%; height: 500px; background-color:lightgreen; margin-left: 0px; // padding:2px; margin-top: 25px; } #table3 { float:left; width:550px; height: 500px; background-color:gold; margin-left: 0px; // padding:2px; margin-top: 25px; } #table4 { float:left; width:20%; height: 500px; background-color:lightgreen; margin-left: 0px; // padding:2px; margin-top: 25px; } #table5 { float:left; width:5%; height: 500px; background-color:lightblue; margin-left: 0px; // padding:2px; margin-top: 25px; } </style> <body> <div id="container"> <div id="glowna"> </div> </div> <!--container end---> </body> </html>
margin-bottom: 0px; w #top1 nie pomaga