You can't. You can set a height: on the select, but there is no guarantee that it will work.
HTML is best thought of as a suggestion. Unlike print, you can't control exactly how your work will look between different browsers, different OS's and different users (users can and will set up their own CSS style sheets which will override yours, disabled people do it more often than others). Add to that different browser resolutions and trying to control exactly how your page looks all the time is an impossibility. Web is not print, try not to think of it like that. Sandra Clark ============================== http://www.shayna.com Training in Cascading Style Sheets and Accessibility -----Original Message----- From: bhaskar p [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 31, 2006 5:07 AM To: CF-Community Subject: RE: Listbox usage Can some one let me know how to resolve this issue using CSS. --- "Adkins, Randy" <[EMAIL PROTECTED]> wrote: > Ahh sorry too early in the morning without caffeine. > I have had listboxes go further than 10 but could depend on where the > select box is located in relation to the page. > If the select box is located near the bottom your list that is > displayed after clicking the drop-down, may be smaller. > > Not sure if you can control it or not. Maybe with CSS but not > positive. > Maybe someone else has insight. > > -----Original Message----- > From: bhaskar p [mailto:[EMAIL PROTECTED] > Sent: Monday, October 30, 2006 9:26 AM > To: CF-Community > Subject: RE: Listbox usage > > When I put <select size=20> it is displaying all the 20items at the > form load. I want to display 20 items when I click on the drop down > button of the list box. > I would be greatful if i get this information. > Thanks, > Bhaskar > > --- "Adkins, Randy" <[EMAIL PROTECTED]> wrote: > > > <select size=20> > > > > -----Original Message----- > > From: bhaskar P [mailto:[EMAIL PROTECTED] > > Sent: Monday, October 30, 2006 7:52 AM > > To: CF-Community > > Subject: Listbox usage > > > > Hi, > > I have 20 items in the list box. When I click on > the drop down icon I > > am able to view only 10 items at once. Please let > me know how can I > > display all the items that are present in the list > box. > > > > Thanks, > > Bhaskar > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:218810 Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
