Vertical centering (text or image) in a layout grid cell

0
This seems like something that should be so simple.  I can't figure it out.  Am I missing something or is there a trick to this?
asked
2 answers
3

add a class to the layout grid cell called verticalAlignText

add the following class to your stylesheet

.verticalAlignText {

display: table-cell;

vertical-align: middle;

}

answered
-1

Did you try to add to the style text-align: center; ?

Regards,

Ronald

 

answered