Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Combo box list getting widened while selecting

more options

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.

Все ответы (1)

more options

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?