dropdown list

Results 1 to 2 of 2

Thread: dropdown list

  1. #1
    Join Date
    Dec 1969

    Default dropdown list

    Can I change the size(i mean width) of a dropdown list. Even if i am giving width in the Select tag, it is always adjusted based on the lengthiest item in the option. <BR>Can anybody suggest a solution. I have seen some websites which are having small comboboxes, but on click, it disply a wider list than the size of the combo box.<BR><BR>

  2. #2
    Sreedharan Guest

    Default User the style attribute

    &#060;Select name=lstYourList STYLE=&#039;width:175pt&#039;&#062;<BR><BR>You can set the width to whatever you like. Now the width will remain the same, whatever the width of the items in the listbox.

Posting Permissions

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