Green_Beret
September 17th, 2001, 09:17 AM
Hi all,
I have a td(with the angle brackets) in a table, and I'm filling this td with a small icon at runtime. Trouble is, the icon is displayed left aligned which is the default for td's. I want to be able to change the alignment of this icon to "center". It is possible at design time, but couldn't make it happen dynamically.
I tried the following :
Assuming it is the 5th cell in the first row, and the id of the table is Temp :
Temp.rows(0).cells(4).align = "center"
This is after filling the cell with the icon.
Any help will be appreciated.
Thanks,
The Beret
I have a td(with the angle brackets) in a table, and I'm filling this td with a small icon at runtime. Trouble is, the icon is displayed left aligned which is the default for td's. I want to be able to change the alignment of this icon to "center". It is possible at design time, but couldn't make it happen dynamically.
I tried the following :
Assuming it is the 5th cell in the first row, and the id of the table is Temp :
Temp.rows(0).cells(4).align = "center"
This is after filling the cell with the icon.
Any help will be appreciated.
Thanks,
The Beret