View Full Version : <input type="text"> WRAP???

04-26-2006, 09:20 PM
So, you can specify the height of a text field...

<input type="text" style="height: 34; width: 566">

... but can you make the text WRAP without having to switch to textarea>???

04-26-2006, 10:39 PM
text fields are only one line.. If you want multiple lines you should use a textarea.

04-27-2006, 02:40 AM
replace the input tag with a textarea tag. works great

<input type="text" name"somename" value="">

like this

<textarea rows="5" cols="30" name="somename"></textarea>