Hello Universe Hello Universe - 7 months ago 18
HTML Question

Wrap long lines into more than one line inside input of a table td

I have a long text inside input field that is inside table rows as below

<td><input type="text" disabled="" value="John Doe" id="firstName" name="firstName"></td>
<td><input type="text" disabled="" value="test" id="custom2" name="custom2"></td>
<td class="tdthree"><input type="text" disabled="" value="Testing Very Bog Client Name to see How long Before This will Break . testing Test test test tesyTesting Very Bog aa" id="custom3" name="custom3"></td>
<td><input type="text" disabled="" value="09-09-1978" id="custom4" name="custom4"></td>
<td><input type="text" disabled="" value="Tes387314" id="custom1" name="custom1"></td>

I need the text in tdthree td to wrap into more than one line if longer than td width. I have been searching through google but can not seem to find a cross browser (IE7+) solution. Any ideas?


the input wont do this you can simply use textarea to do this for you