3.2.0

Images Vertical Alignment

Hello !

I can't seem to find a way to vertically align an image at my grid rows. I found a way to align text, setting the text line-height to the same value as the row height. For example:

.active-grid-row {height:30px; font-size: 8pt;}
.active-templates-text {line-height: 30px}


This will make the text to be vertically aligned in the middle. But I want to do the same with an image (if I have a 15px image in a 30px row, it'll be aligned at the top).

Any tips? Thanks!
Rodrigo
May 17,
okay, solving my own problem... kind of hehehe

I`ve put the image inside a table, with the same height as the row, and with "valign='middle'". It works, probably slow for a lot of records, but it's better than nothing.

if anyone find a decent solution, please reply to this topic.

cyas !
Rodrigo
May 17,

This topic is archived.

See also:


Back to support forum