.mainContentC{ float:left; width:calc(100% - 950px); margin:0 5px; height:100%; box-sizing: border-box; border:1px solid #5397F0; background:url("../image/schoolInfo_center_bg.jpg") 0 0 no-repeat; } #eventMap{ width:100%; height:100%; }