Anuruddha
09-07-2003, 11:44 PM
Is that possible to apply horizontal scrolling to list box in the web page?
|
Click to See Complete Forum and Search --> : List Box Horizontal Scrolling? Anuruddha 09-07-2003, 11:44 PM Is that possible to apply horizontal scrolling to list box in the web page? lillu 09-08-2003, 06:09 AM Hi, Here's the code: It's all about a div element you set around your select tag which will delimit your select tag's width and height parameters. You may want to adjust the height parameter greater than it is now if you want to show more than 3 options, or less if you want to have a vertical bar as well. <html> <head> <style type="text/css"> div { width : 150px; height : 70px; overflow: auto; } </style> </head> <body> <div> <select id="select1" size="3"> <option value="0">00000000000000000000</option> <option value="1">11111111111111111111</option> <option value="2">22222222222222222222</option> </select> </div> </body> </html> Anuruddha 09-12-2003, 04:56 AM :D Thanks a LOT. Its working properly THANKS AGAIN Anuruddha 09-12-2003, 05:11 AM BUT Small Problem !!!! My List box values (TEXT) are very long. Because of that reason vertical scrolling is hiding the right side of the box Any Idia???:confused: webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |