Posted By

traeregan on 09/17/10


Tagged

css align alignment line-spacing


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

jplr


Vertical Align Text


 / Published in: CSS
 

  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  

You need to login to post a comment.