怎么設(shè)置讓他垂直居中.header{
width:?100%;
background:?#fcfcfc;
height:?9.3%;
font-size:?1.3em;
border-bottom:?1px?solid?#b3b3b3;
position:?relative;
color:?#333;
}
1 回答
已采納

pardon110
TA貢獻(xiàn)1038條經(jīng)驗(yàn) 獲得超227個(gè)贊
加上下面這段樣式
display: table-cell;
vertical-align: middle;
添加回答
舉報(bào)
0/150
提交
取消