Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi


I have a dropdown list (html Select) with different options. I made the size of the dropdown list to 200px. But some of the options are too long (much more than 200 px). In this case I need to maintain the drop down list size to 200 px, but the option size to the size of the longest option. I have issues in IE. Do you have any idea to fix it?
Posted
Updated 20-Jun-11 19:53pm
v2

1 solution

This[^] should help you out.
 
Share this answer
 
Comments
saju A Salim 21-Jun-11 1:59am    
I can not change the width of the dropdown at run time. It is fixed to 200 px. But need to show options in its full size.

Thanx for ur suggession

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900