body { font: 16px Helvetica, sans-serif; color: #999999; background: #000000; } a { color: #0000FF; } a:visited { color: #999999; } #main { background: #131313; width: 900px; padding: 40px; margin: 0 auto; } h1, h2, h3, h4 { text-align: center; } h2, h3 { font-size: 16px; } h1 { font-size: 40px; } h3 { font-weight: normal; } h4 { font-size: 60px; } #footer { margin-top: 7em; text-align: center; } .dialog { background: #202020; /*the colour of the button*/ /*give the button curved corners, alter the size as required*/ -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; /*style the text*/ color:#999999; font-size:16px; width:800px; position:relative; margin-left: auto ; margin-right: auto ; margin-top:10px; margin-bottom:10px; padding:10px; } div.holder{ width:700px; position:center; margin-left:auto; margin-right:auto; display: table; } div.row{ display: table-row; } div.cell{ position:relative; width:100px; height:130px; display: table-cell; font-size: 10px; } .advimg { display:block; margin-left: auto ; margin-right: auto ; } .iconimg { padding: 10px; position:absolute; width: 15%; margin-left:0; } .txt { padding: 10px; position:relative; width: 80%; margin-left:15%; margin-top: 0%; }