I want to superpose two fields in the same cell.
One is a textbox, the other one a listbox.
<td align="left" valign="top">
<asp:textbox id="txt" runat="server" Visible="False"></asp:textbox>
<asp:listbox id="lst" runat="server" Visible="False" Rows="1"></asp:listbox>
</td>
I only manage to put one field above the other one. Depending on the visible value, I display the text or the list. They absolutely need to be at the same top.
I don't want to precise a position. I'm using the table to fit to every screen size and can only use percentages.
How can I do this ?
One is a textbox, the other one a listbox.
<td align="left" valign="top">
<asp:textbox id="txt" runat="server" Visible="False"></asp:textbox>
<asp:listbox id="lst" runat="server" Visible="False" Rows="1"></asp:listbox>
</td>
I only manage to put one field above the other one. Depending on the visible value, I display the text or the list. They absolutely need to be at the same top.
I don't want to precise a position. I'm using the table to fit to every screen size and can only use percentages.
How can I do this ?