This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes how to see select box options for moretha 40 pxcels Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to see select box options for moretha 40 pxcels" Watch "how to see select box options for moretha 40 pxcels" New topic
Author

how to see select box options for moretha 40 pxcels

gates pakds
Greenhorn

Joined: Jul 20, 2006
Posts: 3
hai
I fixed select box width to 40ox,

But if the option width is more than 40px, How to see

Help me,
Thanks in advance

<html>
<style>
select{WIDTH: 40px;}
</style>
<body>
<select name="select" >
<option value="1">java</option>
<option value="2">html and javascript</option>
<option value="3">struts</option>
</select>
</body>
</html>
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61043
    
  66

moretha 40 pxcels


Please explain what this means.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
gates pakds
Greenhorn

Joined: Jul 20, 2006
Posts: 3
hai

WIDTH: 40px means width of selectbox is 40pixels
in selectbox
If the option length is more than 40px i unable see the full text of the option

Help me,
Thanks in advance
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You can't do anything about it in IE 6 and under other than make the select element bigger.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to see select box options for moretha 40 pxcels