There is a problem: the select element has a fixed width and, of course, the drop-down list is also fixed. It needs to be done somehow to adapt to the lengths of the elements (only the drop-down list, the select itself must remain the same original width).

  • > make adaptable to the length of the elements under what elements? - Deonis
  • Under the length of the text option'ah - Sleepless

1 answer 1

That is, you want each element of the drop-down list to have its own width, depending on the text? No, with the select element, and even in the eighth donkey it will not work. You could create a pseudo-select yourself, but that's another story.

  • this and was afraid - Sleepless