Image vetical align in grid cell
In the grid, how to set the vertical alignment of an image to "top"
I have this
the image display neatly when I have my cell height set to 20px, but when I increase the cell height, say to 100px, the image will move to the middle. Is there anyway to keep the image on top ?
I have tried
but this only works for text, text will stay on top but image will still shift to middle...
I have this
obj.setCellTemplate(new AW.Templates.ImageText, 10);
obj.getCellTemplate(10).setClass("text", "wrap");
obj.setCellImage("home",0,10);
the image display neatly when I have my cell height set to 20px, but when I increase the cell height, say to 100px, the image will move to the middle. Is there anyway to keep the image on top ?
I have tried
#myGrid .aw-grid-row .aw-column-10 .aw-item-text {vertical-align: top;}
but this only works for text, text will stay on top but image will still shift to middle...
Ru
May 30,