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 Fixing the size of select box 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 "Fixing the size of select box" Watch "Fixing the size of select box" New topic

Fixing the size of select box

sreenath reddy
Ranch Hand

Joined: Sep 21, 2003
Posts: 415
Hi all

I have a big problem with the select box. I need to restrict the size of that irrespective of the width of each option . The problem is its distorting the elements in the screen , if one of the options width increases .

Can any one let me know how to restrict this ?? It will be okay if i can put a scroll bar around it (or) don't mind even if the data gets truncated
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Specify a width....??
I agree. Here's the link:
subject: Fixing the size of select box
jQuery in Action, 3rd edition