SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Get my greedy down dotJoon's Avatar
    Join Date
    Apr 2003
    Location
    daejeon, South Korea
    Posts
    2,223
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    No scroll bar in a textarea after it's loaded

    Code:
    <form>
    <textarea name='textArea' style='width:300;height:40'>
    </textarea> 
    </form>
    After it's loaded, the textarea shows the vertical scroll bar is ready on the right of the textarea.

    I like to make it like the following.

    (1) Scroll bar is not ready after it's loaded.

    (2) If users input some text, the vertical scroll bar pops on the right of the textarea as the text becomes long.
    Can I do it in Javascript with your help?

  2. #2
    Get my greedy down dotJoon's Avatar
    Join Date
    Apr 2003
    Location
    daejeon, South Korea
    Posts
    2,223
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I've solved this matter in CSS. Thank you.


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
  •