标签:
<div style="height: 200px; width: 200px; background: #f00; display: table;"> <div style="display: table-cell; text-align: center; font-size: 20px; vertical-align: middle;">sdf</div></div>
CSS 垂直居中
原文地址:http://www.cnblogs.com/smght/p/5129621.html