Results 1 to 8 of 8
Related
-
HTML Combo box referencing XML document Forum: HTML Forum
Replies: 0 -
Displaying long text combo box in IE Forum: CSS Forum
Replies: 1 -
Display Table based on selection in the Combo Box Forum: Javascript Forum
Replies: 0 -
HELP!!!CSS for combo box scrollbar.. Forum: CSS Forum
Replies: 3
-
11-17-2002, 11:29 PM #1
Want scrollbar to appear after 5 items are dispalyed in combo box
Hello,
How can you specify the maximum number of items to be displayed in a combo box before a scrollbar appears?. IE has a default of 8 items but Netscape 4.x displays around 20 items before the scrollbar appears. I would like the scrollbar to appear when more than 5 items are displayed. I am using CSS to style my form elements.
Any ideas??
Thanks,
Ariel
-
11-18-2002, 01:50 AM #2
do u mean a drop down menu? (<SELECT>)
Last edited by Doorknob; 11-18-2002 at 01:54 AM.
-
11-18-2002, 01:56 PM #3
If it is <select>, then use size -
Code:<select size="5" name="badger"> <option value="test">tester</option> <option value="test">tester</option> <option value="test">tester</option> <option value="test">tester</option> <option value="test">tester</option> <option value="test">tester</option> </select>
If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
-
11-18-2002, 06:24 PM #4
Hello...
To clarify.... when you click on the drop down arrow of the combo box, it would be great if the drop-down list area size could be set to 5 items long. The user can then just use the scrollbar to scroll through the rest of the items on the list.
Thanks for the help,
Ariel
-
11-18-2002, 06:36 PM #5
QuietDean:
Ariel (and us other lurkers) is looking for something like:
<select size="1" MAX="5" name="badger">
where the "MAX" would be the attribute holding the size of the box which pop-ups or down. It'd be nice to even have the up or down direction controllable by something like DIRECTION="up". Have we finally stumped you?
-
11-18-2002, 07:20 PM #6
Maybe this may help http://www.cross-browser.com/examples/menu9.html
Dave
-
11-19-2002, 02:07 PM #7
Daves link is the best solution. The only specced attributes are size, multiple and tabindex.
http://www.w3.org/TR/REC-html40/inte...ml#edef-SELECT
I guess you guys beat meIf one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
-
11-19-2002, 07:00 PM #8
Dave, thanks for the great link to the combo box example.
QuietDean, thanks for clarifying my question. I can sure use that HTML link you provided.
Ariel
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum