Center text vertical

/ Published in: CSS
Save to your folder(s)

This code centers text vertical.

Copy this code and paste it in your HTML
  1. <div id="foot">Vertical</div>
  3. #foot {
  4. height: 45px;
  5. line-height: 45px; }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.