CSS语法CSS水平居中+垂直居中+水平/垂直居中的方法总结 水平居中 行内元素 首先看它的父元素是不是块级元素,如果是,则直接给父元素设置 text-align: center; <style> #father { width: 500px; he...