69 users online (0 members and 69 guests)  


  Results 1 to 2 of 2

Related

  1. dropdown display    Forum: HTML Forum
    Replies: 0
  2. Dropdown menu hides behind dropdown box    Forum: Javascript Forum
    Replies: 0
  3. Onclick Listbox    Forum: Javascript Forum
    Replies: 2
  4. Dropdown Overlap    Forum: HTML Forum
    Replies: 7
  5. LISTBOX Width    Forum: HTML Forum
    Replies: 5
  1. #1
    vikas7's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2007
    Posts
    1

    Question Help me about Dropdown ListBox

    I need a dropdown with a fixed width e.g. 10px and when i opens the dropdown box the list below will adjust according to the option values and will not extend the box itself.

    Here is what i want to do:

    <select name="lstBox" style="width:10px">
    <option value="1">Large Option Value 1 (One)</option>
    <option value="2">Large Option Value 2 (One)</option>
    <option value="3">Large Option Value 3 (One)</option>
    </select>

    now as u noticed the value is list box are large but the width is fixed. Now when i clicks the dropdown the values gets cut down dependign upon the mentioned with. I need the list to show full values but don't want to increase the list width itself

    If anyone can help me in this lz do send me email in "EMAIL REMOVED - Send PM to This User Instead"

  2. #2
    DeadMeatGF's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    381

    Re: Help me about Dropdown ListBox

    Short answer - works in Firefox, not in Internet Explorer.



Tags for this Thread