怎么標(biāo)簽里字的居中啊!
ol>li:nth-child(2n+1){
background:#896;
width:60px;
height:60px;
font:italic 20px "songti";
text-shadow:1px 2px 0 green;
text-align:center;
border-radius:4px;
margin:0 auto;
}
ol>li:nth-child(2n+1){
background:#896;
width:60px;
height:60px;
font:italic 20px "songti";
text-shadow:1px 2px 0 green;
text-align:center;
border-radius:4px;
margin:0 auto;
}
2016-08-23
舉報(bào)
2016-10-27
添加一行:l
2016-08-23
但是還是沒有達(dá)到預(yù)期的效果---上下左右都居中。
2016-08-23
text-align:center字體居中