* { margin:0px; padding:0px; } #ad { margin:0 auto; display:block; margin-top:-335px; } #main { width:500px; height:500px; background-color:rgba(200,200,200,1.00); margin:0 auto; line-height:500px; text-align:center; color:rgba(255,255,255,1.00); font-weight:bold; }