div設置text-align無法2實現文字居中
有種情況是沒有設置line-height
比如,需要加上 line-height: 50px;纔有效果
.cin_top{ height: 50px; color: #000; font-weight: bold; font-size: 18px; margin-bottom: 5px; line-height: 50px; }
div設置text-align無法2實現文字居中
有種情況是沒有設置line-height
比如,需要加上 line-height: 50px;纔有效果
.cin_top{ height: 50px; color: #000; font-weight: bold; font-size: 18px; margin-bottom: 5px; line-height: 50px; }