Problem with Dropdown list display in IE
-
So, technically I'm using JavaServer Faces and JSP, but if anyone has a solution in AJAX or anything else for that matter, I'm all ears... -- Dropdown list. -- Contents are pulled from database. -- If the contents happen to be super long (which they do), the dropdown list size is automatically extended to the width of the largest select item. -- OK -- Setting the size of the dropdown list using style="width:343px" correctly displays the size of the control inside the table it sits in. **But I need the entirety of the select items displayed when you drop down the list items in the control. In a perfect world this would just work. And in the brilliance that is Firefox -- IT DOES!!!! However, it does NOT work in IE. The dropdown and the list contents (select items) are also truncated by the size of the control stated above. Any ideas? Please and Thank you! in advance. This has been getting the better of me for a day and a half! Aubrey
"Tarter Sauce" = a 7yr old's version of "WTF!"
-
So, technically I'm using JavaServer Faces and JSP, but if anyone has a solution in AJAX or anything else for that matter, I'm all ears... -- Dropdown list. -- Contents are pulled from database. -- If the contents happen to be super long (which they do), the dropdown list size is automatically extended to the width of the largest select item. -- OK -- Setting the size of the dropdown list using style="width:343px" correctly displays the size of the control inside the table it sits in. **But I need the entirety of the select items displayed when you drop down the list items in the control. In a perfect world this would just work. And in the brilliance that is Firefox -- IT DOES!!!! However, it does NOT work in IE. The dropdown and the list contents (select items) are also truncated by the size of the control stated above. Any ideas? Please and Thank you! in advance. This has been getting the better of me for a day and a half! Aubrey
"Tarter Sauce" = a 7yr old's version of "WTF!"
aubndez wrote:
However, it does NOT work in IE.
You have two choices then: 1) Recommend that your users avoid crappy browsers, or 2) write your own drop-down list entirely in HTML+JS, work around all the various display bugs in all supported browsers, and make it work exactly how you want it to. I've done #2, and i wouldn't recommend it for something like this.
But who is the king of all of these folks?