By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
462,111 Members | 694 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 462,111 IT Pros & Developers. It's quick & easy.

horizontal scroll bar in the drop down box

P: 16
dear frnds,
I have a select box in php which is filled with data.The data is too long so that the i couldn't see it in the drop down fully .
I need to scroll horizontallly for that.
can we have a horisontal scroll bar in the drop down

[HTML]Code: ( html )
sample code
<select style="width:100px">
<option>This is the sample drop down to be shown when the form loads</option>
<option>This data is too long to be seen fully in the drop down</option>
Mar 25 '08 #1
Share this Question
Share on Google+
2 Replies

Expert 100+
P: 490
unfortunatly this can't be done.
Mar 26 '08 #2

Death Slaught
P: 1,137
The only other option I can think of is setting the width of your options to match the length of your text.

Thanks, Death
Mar 26 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.