• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to see select box options for moretha 40 pxcels

 
gates pakds
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65122
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
moretha 40 pxcels


Please explain what this means.
 
gates pakds
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't do anything about it in IE 6 and under other than make the select element bigger.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic