Free Support Forum -

Vertical Alignment of Text in a table


I am trying to vertically align the text to top in the table. I used following code. But it is not aligining properly. Can you please tell me how to do it.

Mark Smith



Hi Mamatha,

In order to set the vertical alignment as TOP, please try using VerticalAlignment propoerty inside a particular table cell. Please take a look over following XML in which I have set the VerticalAlignment of one table cell as TOP and other has Bottom. For your reference, I have also attached the resultant PDF that I have generated.

<?xml version="1.0" encoding="utf-8"?>


Mark Smith

Thank you it worked.