Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Problem with Dropdown list display in IE

Problem with Dropdown list display in IE

Scheduled Pinned Locked Moved Web Development
javadatabasehelpquestionannouncement
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aubndez
    wrote on last edited by
    #1

    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!"

    S 1 Reply Last reply
    0
    • A aubndez

      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!"

      S Offline
      S Offline
      Shog9 0
      wrote on last edited by
      #2

      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?

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups