Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. netooio25

    dynamically resize a select box...

    Does anyone know if an option inside a select box keeps track of its clientWidth or offsetWidth? See my getLongestOptionWidth function in the code I included above for what I am trying to do... A select element has a clientWidth that it keeps track of I believe, wondering if option elements...
  2. netooio25

    dynamically resize a select box...

    Heh, i didnt read the small text. I thought it was a signature.. I'm leaning towards doing that solution, just making it initially wide enough to hold the widest option.. but I'll have to change it every time a new option gets added to the program that is longer still. Just wondering if its...
  3. netooio25

    dynamically resize a select box...

    Yeah, I understand that. In the project i'm working on, I am defining a fixed width through css.... The reason I need to do this is initially, the select box is empty and if I dont define a fixed width it the select box is extremely narrow and this doesnt look very user appealing. I need a...
  4. netooio25

    dynamically resize a select box...

    I posted a similar question about this in the CSS forum because I was trying to find a css workaround for IE not supporting min-width but it looks like i'm going to have to use Javascript to do this. I want to be able to dynamically resize the width of a select box. The select box has options...
  5. netooio25

    help with min-width not working in IE

    Cool solution, but i'm not sure if i'm going to be able to get it to work for what I need or not... I need my selectBox to behave the same as the min-width works for Firefox and other browsers that it works for... If I set the min-width to 250px, in Firefox, the select box loads empty, but is...
  6. netooio25

    help with min-width not working in IE

    Hi, I'm fairly new to html/css but have a basic understanding of it and how it works... I have a html select with a list of options, and I was using the CSS property min-width to give the select a minimum width of 250 pixels... I want the select box to grow if I add options to it that are >...

Part and Inventory Search

Back
Top