水平居中 标签水平居中: 父标签(div)必须给 text-align:center; margin:0 auto; 子标签必须有给定宽度才生效 内容水平居中: 直接给标签一个: text-align:center;