C
ck
Take a look at the following example (browse in IE6):
<table style = "width:100; border:1px solid black">
<tr>
<td style = "border:1px solid red">
<input style = "width:50%" value = "this is a test with a long string in
it and the table width setting doesn't matter"></input>
</td>
</tr>
</table>
The string causes the table to expand to the width of the string, even
though the string is in a text box that cuts off the visible portion of the
string.
What's up with this? I can prevent it by setting the input width to a fixed
value, but that's not my preference...
Thanks!
Chris
<table style = "width:100; border:1px solid black">
<tr>
<td style = "border:1px solid red">
<input style = "width:50%" value = "this is a test with a long string in
it and the table width setting doesn't matter"></input>
</td>
</tr>
</table>
The string causes the table to expand to the width of the string, even
though the string is in a text box that cuts off the visible portion of the
string.
What's up with this? I can prevent it by setting the input width to a fixed
value, but that's not my preference...
Thanks!
Chris