how to make text box lenth as static in a table
-
HI I am new to this forum. I have a problem in text box that is in table.We are using the length of that textbox in %. When a long data is coming inside the textbox the length is increasing.If we are using px,then the length is not increasing according to resolution.That means it is fixed.Also we used overflow as hidden.it is not working perfectly.I am giving my code plz have a look on it.
<tr height= "25px"> <td style="padding-left:1%;"><asp:Label ID="label9" runat ="server" Text ="Subject" ForeColor ="Black" Font-Size ="11px" Font-Names="Tahoma"></asp:Label></td> <td colspan="3" ><asp:TextBox ID="txtSubject" runat ="server" Width ="97%" Font-Size ="11px" Font-Names="Tahoma" Height ="12px" Text="" MaxLength="200" BorderColor="#6699CC" BorderStyle="Solid" BorderWidth="1px" style="overflow:hidden;position:absolute;"></asp:TextBox></td> </tr>
-
HI I am new to this forum. I have a problem in text box that is in table.We are using the length of that textbox in %. When a long data is coming inside the textbox the length is increasing.If we are using px,then the length is not increasing according to resolution.That means it is fixed.Also we used overflow as hidden.it is not working perfectly.I am giving my code plz have a look on it.
<tr height= "25px"> <td style="padding-left:1%;"><asp:Label ID="label9" runat ="server" Text ="Subject" ForeColor ="Black" Font-Size ="11px" Font-Names="Tahoma"></asp:Label></td> <td colspan="3" ><asp:TextBox ID="txtSubject" runat ="server" Width ="97%" Font-Size ="11px" Font-Names="Tahoma" Height ="12px" Text="" MaxLength="200" BorderColor="#6699CC" BorderStyle="Solid" BorderWidth="1px" style="overflow:hidden;position:absolute;"></asp:TextBox></td> </tr>