aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 60050
    
  65

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
 
Similar Threads
listbox length
show the whole content in combo box
&nbsp; ...
problem with multi select box with horizontal scroll bar
Firefox doesn't show background color for selected option