www.webdeveloper.com
Results 1 to 4 of 4

Thread: how can i resize the <select> tag?

  1. #1
    Join Date
    May 2008
    Posts
    57

    how can i resize the <select> tag?

    can anyone help me? i have a problem about the <select> tag the situation is that i want to resize it but i can't when i use it it covers all the text but the text is very long..

    here's the sample:

    <select>
    <option>test 1</option>
    <option>test 2</option>
    <option>test 3</option>
    <option>test 4</option>
    </select>
    this makes a dropdown with 1,2,3,4 on the list


    <select>
    <option>test 1</option>
    <option>test 2</option>
    <option>test 3</option>
    <option>test 4</option>
    <option>this is a very long text,much longer than the web page itself..</option>
    </select>


    how can i resize it??? i don't know if its even possible,hopefully it is.tnx for the one who can help me...

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    <select size="5">

  3. #3
    Join Date
    Mar 2005
    Location
    Sydney, Australia
    Posts
    7,974
    or set a width for the field in the stylesheet.

  4. #4
    Join Date
    May 2008
    Posts
    57
    tnx for the posts,i appreciate it tnx again

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



Recent Articles