When attempting to create a dynamic dropdown menu, I encountered an issue where the values were skewed in Internet Explorer if they exceeded the width of the dropdown. To fix this problem, I added select:hover{width:auto;position:absolute}. However, now the dropdown contracts when all the entered values are smaller than the original size. Is there a way to prevent it from contracting and still allow it to expand? Any suggestions?
I am utilizing dojo and JavaScript for this task, unable to use jQuery.