This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a drop down list box which has some 15 items in it, by which we can select only one item at a time. In IE6 the items in the drop down are appearing fine with a scroll bar coming in after click on items. But in IE7 all the items in the drop down list are appearing with out a scroll bar, due to which drop down is appearing in a bigger size.
Some where in google it was written that, by default in IE7 drop down is having fixed size of 30. If that is the case, is there any way that we can change it and reduce the size, so that dispalyed items will appear in scroll bar or is there any way that we can use css and change it.
The only way is to make it a multi-select, then you define the number of options that display at one time, but they're always there, not just displayed on clicking the arrow and the user can select more than one.
That being said, I'd bet that someone, somewhere, has gotten all creative on this and came up with a jquery workaround.
- andy c
"Pseudo code first. If you can pseudo code accurately, when you start writing code, you're just applying syntax to the pseudo code. It separates the two most complicated pieces of programming into manageable bites. You create your app's workflow without worrying about syntax. Then you code without worrying about your app's workflow."