<div style="width: 130px;height: 40px; display: table-cell;/*1必填*/ vertical-align: middle;/*2必填*/ text-align: center;/*3必填*/ border: black 1px solid;"> <span style="font-size: 13px;">Test</span> </div>
<span>在<div>内垂直、水平居中
猜你喜欢
转载自blog.csdn.net/Tdh5258/article/details/80572908
今日推荐
周排行