CSS0017: DIV 上下左右都居中样式 1, .container { box-sizing: border-box; max-width: 1024px; padding: 20px; text-align: center; } 琥珀君的博客