• 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

Select box

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

Our code was running fine on IE8. Our company is rolling out to IE11. We are testing our application on it.

We found an issue while running code on IE11.

A select box has different options varying from size 1 to size 255. With a bigger value, the drop down is increasing and it's occupying the entire screen which looks clumsy and untidy.

Is there any option to fix this issue on IE11?

We use Javascript, JSP.

Any fix for this??

Please suggest on the same.

 
Bartender
Posts: 1810
28
jQuery Netbeans IDE Eclipse IDE Firefox Browser MySQL Database Chrome Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you most some code for us to review and test? In the meantime, you might find a temporary fix using the X-UA-Compatible meta element. See here and here.
 
gayathri allamaraju
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's a normal select box. We use javascript to populate data.

<select name="">
<option name="a">a</option>
<option name="b">bb</option>
and suppose there is a bigger value to be displayed on the drop down,like
<option name="z">zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz</option>
The bigger value is visible across the entire screen which is affecting the label defined against that select box.

Example:

A label "Animal" which has select box with different options. But due to this IE11 behavior the label "Animal" is not visible.
 
J. Kevin Robbins
Bartender
Posts: 1810
28
jQuery Netbeans IDE Eclipse IDE Firefox Browser MySQL Database Chrome Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It would help if you would show us the actual generated HTML. By default a select control will always expand to fit the widest option item in the list, but you can control it with the CSS width property. Have you tried that?
 
reply
    Bookmark Topic Watch Topic
  • New Topic