.main, .sidebar { float: left; padding: 20px; } .main { width: 400px; background-color: LightSlateGrey; } .sidebar { width: 200px; background-color: Tomato; }
.main, .sidebar { float: left; padding: 20px; } .container { background-color: Tomato; } .main { width: 400px; background-color: LightSlateGrey; } .sidebar { width: 200px; }
.main, .sidebar { float: none; padding: 20px; vertical-align: top; } .container { display: table; } .main { width: 400px; background-color: LightSlateGrey; display: table-cell; } .sidebar { width: 200px; display: table-cell; background-color: Tomato; }