ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

Combo box list getting widened while selecting

  • 1 การตอบกลับ
  • 2 คนมีปัญหานี้
  • 4 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย jscher2000 - Support Volunteer

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?