一、行高(line-height)法二、内边距(padding)法三、模拟表格法四、CSS3的transform来实现五:css3的box方法实现水平垂直居中六:flex布局(2018/04/17补充)