File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Fixed length for drop-down list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Fixed length for drop-down list" Watch "Fixed length for drop-down list" New topic

Fixed length for drop-down list

Nazneen Shaikh

Joined: May 01, 2003
Posts: 21

I have a select box in my jsp. When i click on it i get a drop down list with 15 items and a scroll bar as the total list is 20. I need to fix the length of the drop-down list.

How can i do this. I want the drop-down list to show only 5and the rest can be searched with the use of scroll bar.

Please help.

Thanking in Advance
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
I agree. Here's the link:
subject: Fixed length for drop-down list
It's not a secret anymore!