for text element use
for block element like <div> use
for more detail you can reference here.
If you are using vertical centering from my previous post Vertical text alignment – CSS _ and # hacks!
You will find yourself in trouble in IE as I do.
because I didn’t define the width of the inner elements!
just add width to the inner element same as the outer width.
and you are okay.