Sunday, 15 September 2013

Align image and text within same cell vertically?

Align image and text within same cell vertically?

I have a small 2x2 HTML table. Each cell contains one image and one piece
of text.
Example image:

As you can see, the text is vertically below the vertically middle level
of the image. How can I make the text vertically in the center, relative
to the image on the left ?
I have tried a several different display values, which I can't fix this.
JSFiddle: http://jsfiddle.net/ahmadka/rbJNQ/

No comments:

Post a Comment