[Resolved] HTML: INPUT field resizes to size of text?
My problem lies in code like this:
Code:
<table border="1" style="width: 45%;">
<tr>
<td style="width: 30%;">Your Name :</td>
<td style="width: 70%;">
<input type="text" name="textbox" value="[long text here]" style="width: 100%;">
</td>
</tr>
</table>
Rather than fitting to the 70%, the input field will make itself the entire width of the text. How can I make it just size to the 70%?
Re: HTML: INPUT field resizes to size of text?
Quote:
Originally posted by The Hobo
Rather than fitting to the 70%, the input field will make itself the entire width of the text. How can I make it just size to the 70%?
I checked your code, but that's not what I'm getting. The input field is the entire width of the td here.
Could it be a browser problem?
Windows XP/IE6 here.