#apteryx-box{ margin: 0 auto; padding-bottom:8px; width:38em; min-height:105px; } div.random { margin-left:auto; margin-right:auto; margin-bottom:2em; width: 400px; height: 350px; background: url(../../include/randomimg.php) no-repeat center; }