Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Apr 2006
    Posts
    311
    Thanks
    17
    Thanked 0 Times in 0 Posts

    <input type="text"> WRAP???

    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>???

  • #2
    New Coder
    Join Date
    Apr 2005
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts
    text fields are only one line.. If you want multiple lines you should use a textarea.

  • #3
    Regular Coder oldcrazylegs's Avatar
    Join Date
    Feb 2004
    Location
    East Moline Illinois USA
    Posts
    415
    Thanks
    4
    Thanked 5 Times in 4 Posts
    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>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •