c# - Dynamically fill a <td> with a control asp.net -
i got table:
*formmaster x wide* <table> <tr> <td> <asp:label runat="server" id="lb_seq_header" text="sequence header: "/> </td> <td> <asp:textbox runat="server" id="tb_seq_header"/> </td> </tr> <tr> <td> <asp:label runat="server" id="lb_asm_instr" text="sequence instructions: "/> </td> <td> <asp:textbox runat="server" id="tb_asm_instr" textmode="multiline" rows="15" style="resize:none"/> </td> </tr> </table>
how stretch textbox in td fill rest of body of formmaster x wide?
i've tried adding div in each td textbox, applied 'style' each textbox "width:100%", adding style="width:y%" , style="width:x%" (x+y=100) each td pair nothing happens.
first, need have table fill it's container.
add 100% width table:
table { width:100%; }
then, add widths textboxes.
Comments
Post a Comment