Vertical Align Text


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



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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.