Hi I have a text box set to..
Now say this textarea is in a table thats 500 pixels, and the textarea contains the string "sljfspejfesfnwsnsoenvesnvoisengoisnvoisneoivnseoiviosenvoisenoivnseoinvoisenvoisenvoinoiq3noin32oinsfsfsdfsdfsdfsdfsdf".
Now since the width is set to a percentage the textarea will expand the table more than 500 pixels. How do I fix this??
Code:
<textarea style="width: 100%" rows="5" name="refCode"></textarea>
Now say this textarea is in a table thats 500 pixels, and the textarea contains the string "sljfspejfesfnwsnsoenvesnvoisengoisnvoisneoivnseoiviosenvoisenoivnseoinvoisenvoisenvoinoiq3noin32oinsfsfsdfsdfsdfsdfsdf".
Code:
<table width="500">
<tr>
<td>
<textarea style="width: 100%" rows="5" name="refCode">sljfspejfesfnwsnsoenvesnvoisengoisnvoisneoivnseoiviosenvoisenoivnseoinvoisenvoisenvoinoiq3noin32oinsfsfsdfsdfsdfsdfsdf</textarea>
</td>
</tr>
</table>
Now since the width is set to a percentage the textarea will expand the table more than 500 pixels. How do I fix this??