0

i have a drop down list in my form. it contains a lot of values. so when i click on it, it covers whole of the page, along with the scroll bar. is there a way to limit the length of the drop down list, say showing only 10 values at a time. any help is very much appreciated

sushant
  • 923
  • 5
  • 17
  • 33
  • 1
    possible duplicate of [height of an html select box (dropdown)](http://stackoverflow.com/questions/570642/height-of-an-html-select-box-dropdown) – scunliffe Jun 08 '10 at 10:23

1 Answers1

0

I dont think there is a way to limit the size of the dropdown. It is browser/OS dependent.

You can try creating your own dropdown using javascript. There should be a JQuery plugin available.

If you want to stick to then you will have to live with the too tall dropdowns.

andrewsi
  • 10,807
  • 132
  • 35
  • 51
Nivas
  • 18,126
  • 4
  • 62
  • 76