Aug 28, 2008, 3:22 PM
TextFieldwidth=100% and TextArea rows=2
How do I get Textfield with width = 100% and a TextArea with rows = 2? I have a html table with 2 columns. First column is a label, second column is a textbox/textarea.
<table style="table-layout: fixed">
<colgroup>
<col width="125" />
<col width="*" />
</colgroup>
<tr>
<td>
<asp:Label ID="Label1" runat="server">Name</asp:Label>
</td>
<td>
<ext:TextField ID="txtName" runat="server">
</ext:TextField>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label2" runat="server">Description</asp:Label>
</td>
<td>
<ext:TextArea ID="txtDescription" runat="server"></ext:TextArea>
</td>
</tr>
</table>