Results 1 to 3 of 3

Thread: textarea tag with flexible width/cols ?

  1. #1
    Join Date
    Sep 2005

    textarea tag with flexible width/cols ?

    Hi all,

    I have a textarea tag that has 60 columns and say 4 lines... my issues is that I would like the texarea to have flexibility to change width (I incapsulate it in a window with an iframe I can change width) and reduce to a variable numebr of coulumns with wrap. i.e. another way of saying this is IMAGINE a textarea with cols="100%"... get my gist ?

    My target browser is IE6 but more portability is welcome...

    Thanks in Advance

  2. #2
    Join Date
    Sep 2005
    in my house
    HTML Code:
    <textarea style="width:50%;height:50%">asdf</textarea>
    tested on ie and ff
    (\ /)
    (> <)
    <- Bunny was here...

  3. #3
    Join Date
    Sep 2005
    Yes it works fine. I was misguided because I read somewhere that the col parameter of the textarea tag is a required parameter. But I dont see any reason not to use it after some testing.

    Thanks for your help on this.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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