<div style="height: 200px; 200px; background: #f00; display: table;">
<div style="display: table-cell; text-align: center; font-size: 20px; vertical-align: middle;">sdf</div>
</div>
<div style="height: 200px; 200px; background: #f00; display: table;">
<div style="display: table-cell; text-align: center; font-size: 20px; vertical-align: middle;">sdf</div>
</div>