Vertical Align Text

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

Copy this code and paste it in your HTML
  1. /* e.g. */
  3. .element {
  4. height:25px; (or whatever height you want)
  5. line-height:25px; (match 'line-height' to 'height')
  6. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.