Click to See Complete Forum and Search --> : <td> width as %


Toshi
04-06-2006, 08:11 AM
Hi all
I am using the width of textbox in %, its changing the width of textbox in case the no. of characters are more.
Though its working fine with width in pixels, but I want a solution for width in %.

Thanks & Regards

TiGGi
04-06-2006, 08:15 AM
<TD> would be tag for table cell not textbox. Are you using textbox as form input or to display data?

Toshi
04-06-2006, 08:21 AM
i am using width as % for both <td> and textbox or other control.
Presently I want a solution for input fields, but I need it for viewing also.

It will be of great help if u can suggest something.

LeeU
04-06-2006, 08:28 AM
Actually the width attribute for the TD element is deprecated in 4.01. See http://www.w3.org/TR/html4/struct/tables.html#h-11.2.6