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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -