Netscape 4.x Browsers do not apply width values to SELECT tags via CSS. The proprietary WIDTH attribute must be used in the SELECT tag. Netscape 4.x and Microsoft 4.x browsers respond appropriately to the inline STYLE attribute shown below.
<FORM NAME="form1" >
<SELECT NAME=test STYLE="width: 300px;" WIDTH="300">
<OPTION VALUE="1">This is the item for Number one</OPTION>
</SELECT>
</FORM>
However, this only works in NS4.X if you want to make the select menu bigger. IE & NS6 are the only ones you can make the select menu smaller using STYLE="width: 50px"
- tleish
Interesting point here: I thought when daph said "length" it was in reference to the number of items that show when you expand the list by clicking on the arrow. It didn't occur to me that it might mean the WIDTH of the box itself. My answer should work for the former, tleish answered the latter.
Tracy Dryden
tracy@bydisn.com
Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
I suspect that there is a limit, but I've never hit it. I've seen drop downs with well over 50 items with no trouble. If they get much longer than that, they become cumbersome for the user. Tracy Dryden
tracy@bydisn.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.