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

04-26-2006, 08: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, 09:39 PM
text fields are only one line.. If you want multiple lines you should use a textarea.

04-27-2006, 01: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>