WebStringGrid Vertical Align

Please help, I'm using WebStringGrid component, how to change line of text with vertical-align : center?

The default vertical alignment is center:
image

If you want to change the alignment, you can use:

var
  el: TJSHTMLElement;
begin
  webstringgrid1.Cells[1,1] := 'test';
  el := webstringgrid1.CellElements[1,1];
  el['valign'] := 'top';
end;

ok, Thanks