• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

show the whole content in combo box

 
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how to show the whole content in combo box when width is given using style attribute?

here is the code:
<html>
<body>
<select style="absolute osition; width:80">
<option value="one">one</option>
<option value="two">twooooooooooooooooooooooooooooooo</option>
<option value="three">three</option>
</select>
</body>
</html>

when i open the above html code in internet explorer the second combo box value (twooooooooooooooooooooooooooooooo) is partially visible i.e as per the given size.
When i open the same in firefox the entire content is visible irrespective of the size..

I want the entire content of the combo box to be visible to the user irrespective of the given combo box size.

Can anyone help me how to achieve this behaviour in IE...
[ December 05, 2007: Message edited by: Bear Bibeault ]
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is no such thing as a combo box in HTML. You must mean a dropdown select.

In that case, you will not be able to make IE do what you want.
 
Abhishek Reddy
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hope you understand my problem..
yes it is a dropdown select box.
is there any way the whole contents of the dropdown select box will be shown to the user irrespective of its size.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No. IE cannot do that,
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic