S
Shef
I'd like to completely fill the width of a cell in a table with an input
field. This code works ok:
<table width=75%>
<tr>
<td width=50%>xxxxx</td>
<td width=50%><input type=text style="width:100%"></td>
</tr>
</table>
The problem arises when the <input> has a value="text" clause. If "text" is
very long, then the input grows to accommodate it. It will even make the
table wider than the screen.
How do I get the input to be the specified size, and not grow? I'd like the
text to scroll horizontally within the text box, as it does when no
style="width:100%" has been specified.
field. This code works ok:
<table width=75%>
<tr>
<td width=50%>xxxxx</td>
<td width=50%><input type=text style="width:100%"></td>
</tr>
</table>
The problem arises when the <input> has a value="text" clause. If "text" is
very long, then the input grows to accommodate it. It will even make the
table wider than the screen.
How do I get the input to be the specified size, and not grow? I'd like the
text to scroll horizontally within the text box, as it does when no
style="width:100%" has been specified.