html,body{ height:100%; } body{ margin:0; padding:0; /*background-color:blue; /* background-image:url('background.png'); background-repeat:no-repeat; */ background-size:100%; } /* Tell the browser to render HTML 5 elements as block */ header, footer, aside { display: block; } #intro { margin: 20px; } #content { display: table; width: 100%; } #mainContent { display: table-cell; width: 620px; padding-right: 22px; padding-left: 22px; } aside { display: table-cell; width: 300px; } h1 { margin-top: 20px; } h1, p{ color:#333; text-align:center; }