This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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

Win a copy of Building Microservices this week in the Design forum!
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....??
subject: Fixing the size of select box
It's not a secret anymore!