背景图左右居中 #bananerDis{ height: 550px; background: url("../images/bannerdisplay.jpg") no-repeat; background-position:center center; background-size: cover; }