Click here to Skip to main content
16,012,611 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

i have five drop down list on my page and i need to arrange them in an order with same width,
how can i do this?
Posted
Comments
Dholakiya Ankit 2-Aug-13 6:46am    
what u are asking what you have done?

1 solution

You have not provided any HTML markup to make more clear idea about question.Any ways as far as i guess you can add a style attribute to your select list fixing the width of all your select box on the same page.

HTML
<select id="Select1" style="width:100px">
    <option></option>
</select>


XML
<select id="Select2" style="width:100px">
    <option></option>
</select>



XML
<select id="Select3" style="width:100px">
    <option></option>
</select>

.
.
and so on.
Hope this will solve your problem.
 
Share this answer
 

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