Setting dropdown width of Html Select control
-
Hi, Does anyone know how set the dropdown width of a HTML Select control in IE?? I want to have the dropdown width wider than the control. It works ok in FireFox, Bill. Malcolm
[Message Deleted]
-
[Message Deleted]
-
Can you post the your html code ?
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog
-
<select id="Select1" style="width:120px;"> <option>options 1 </option> <option>options 1 </option> <option>options 1 </option> <option>options 1 </option> </select> Check this one. Give width in pixels its working in my machine. Any issue with this ? if then also you have any issue do one thing for default selected option give space in it <option> Select One </option>
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog
-
<select id="Select1" style="width:120px;"> <option>options 1 </option> <option>options 1 </option> <option>options 1 </option> <option>options 1 </option> </select> Check this one. Give width in pixels its working in my machine. Any issue with this ? if then also you have any issue do one thing for default selected option give space in it <option> Select One </option>
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog
-
You do not understand I want to set the width of the list that drops down seperately from the width of the control So it displays all text
Still not understing the issue Do you mean that drop down is having some options whose text is more than the width of control ? beacuse of it user can't see the whole text of the list ?
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog
-
Hi, Does anyone know how set the dropdown width of a HTML Select control in IE?? I want to have the dropdown width wider than the control. It works ok in FireFox, Bill. Malcolm
Hi friend, I'd asked this question before, you may look for the answer in this message, i've tried it, it's working like you want, http://www.codeproject.com/script/Forums/View.aspx?fid=1640&msg=2617714[^] Message subject is: HTML Select DropDown Width