Combo box list getting widened while selecting
I have an application , which have combo boxes inside a DIV tag. When the length of one the item in the list box is greater the specified length of the combo box, the display of the list gets widened and the combo box widens to the lengthiest items' length and it looks odd.
I want the options to fit to the length of the combo box specified.
I have an application , which have combo boxes inside a DIV tag.
When the length of one the item in the list box is greater the specified length of the combo box, the display of the list gets widened and the combo box widens to the lengthiest items' length and it looks odd.
I want the options to fit to the length of the combo box specified.
Todas las respuestas (1)
Could you post a link to a page (actual page or test case) demonstrating the problem?
How are you constraining the width of the <select> control -- have you tried CSS max-width?