bootstrap一行表格内同时有文字和按钮de时候,使文字和按钮同时垂直、水平居中 .table th, .table td { text-align: center; vertical-align: middle!important; }