Click to See Complete Forum and Search --> : Align "<TD>" contents at runtime


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

tyris
September 17th, 2001, 10:19 AM
you should try to post this question into a javascript forum, it's not a problem with xml. i hope they will give you an answer we can't give you

regards

Elise, XML learning girl :-)