:: Forum >> Version 1 >>

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:30pxfont-size8pt;}
.
active-templates-text {line-height30px}
 
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
Tuesday, May 17, 2005
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
Tuesday, May 17, 2005



This topic is archived.

Back to support forum

Forum search