要写死宽度,就好弄了 position: absolute;left: 50%;width: 980px;margin-left: -490px; text-algin:center 转载于:https://www.cnblogs.com/xuan52rock/p/4448155.html