SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast amanmehta's Avatar
    Join Date
    Dec 2005
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    <select> drop down

    I have a select box with big values

    <select name="test" style="width: 70px">
    <option value="1">111111111111111111
    <option value="2">2222222222
    <option value="3">3333333333333
    <option value="4">444
    </select>


    In Firefox it works fine that the width of select is 70px but width of option is according to vales in the particular field. can this be fized anyhow by javascript or any other way so that it works the same way in Internet Explorer also.

    Thanks in advace

  2. #2
    Non-Member
    Join Date
    Sep 2006
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried adjusting the width using css... add some padding to the right or left so it would expand...


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
  •