Results 1 to 3 of 3

Thread: Big Old Text Field

  1. #1
    Join Date
    Oct 2007
    Posts
    47
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Big Old Text Field

    Hello there

    I'm putting a form together and what a text box input field that's big.

    I know you can simply alter the field size by specifying the length of it ie.

    "size=20" etc

    But how do I get it so that the text box is several lines long so that the box resembles a big old box??

    Thanks

    hamfast

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    That's a textarea, not a textfield. It operates a bit differently, most notably that the enter key adds a line break, rather than submitting.
    <textarea name="something" cols="5" rows="5">this text is in there by default including <html> tags etc</textarea>

    cols and rows are the size, based on columns/rows of letters.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Oct 2007
    Posts
    47
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Daniel

    That's brilliant - cheers.
    hamfast

Bookmarks

Posting Permissions

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