How to make a horizontal scrollbar in select box?
I make a multiple selectbox , I hope to add horizontal scroll bar to it.
<select name="select" style="width:80" multiple size="3">
I looked up in the css-sheet reference, but can not find the answer.
Last edited by geqy; 12-09-2002 at 05:10 AM.
You should be able to do it like this:
Mozilla supports it, but IE and Opera don't seem to.
<select name="select" style="width:80px; overflow:scroll;" multiple size="3">
By the way you had some invalid CSS in there, you need a unit after the width:80 bit, if the value is anything other than 0. Any complient browser will ignore your width command otherwise.
hi, Thank you for your reply.
I tried it before, but it does not work for 'select' (for <div> it is works, but also only vertical scroll )
do you have some other ideas?
by the way, Netscape 4.75 does not support '80px' of 'select'
Last edited by geqy; 12-10-2002 at 06:44 AM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)