AFTER THAT ADD THIS CSS ----------> .middleAds{display:block;margin:15px auto;padding:0;width:100%;height:auto;overflow:hidden;text-align:center}