[Javascript] Select Box - List Style

Chris T christ at saeweb.com
Mon Jun 14 14:45:34 CDT 2004


You forgot to add "Not a flame" in this e-mail...


----- Original Message ----- 
From: "Hakan Magnusson" <hakan at backbase.com>
To: "[JavaScript List]" <javascript at LaTech.edu>
Sent: Monday, June 14, 2004 3:49 PM
Subject: Re: [Javascript] Select Box - List Style


> In decent browsers you can.
>
> Use
> min-width: 200px;
>
> instead of width. This won't work in Internet Explorer, since it's part
> of the mind bogglingly new CSS2 specifications, only seven years old. :)
>
> Regards,
> H
>
>
> Dave Stoltz wrote:
> > Thanks!
> >
> > But the only problem with that is, if I populate the listbox with a long
> > string, it won't stretch...
> >
> > I guess I can't have my cake and eat it too....:)
> >
> > -----Original Message-----
> > From: javascript-bounces at LaTech.edu
[mailto:javascript-bounces at LaTech.edu]
> > On Behalf Of Peter Brunone
> > Sent: Monday, June 14, 2004 12:37 PM
> > To: '[JavaScript List]'
> > Subject: RE: [Javascript] Select Box - List Style
> >
> > Dave,
> >
> > You can use the CSS width attribute to tell the box how wide you
> > want it to be, e.g.
> >
> > <select style="width:300px;">
> >
> > Cheers,
> >
> > Peter Brunone
> > ___________________
> > Do the impossible.
> > Go home early.
> > www.EasyListBox.com
> > ___________________
> >
> > -----Original Message-----
> > From: javascript-bounces at LaTech.edu On Behalf Of Dave Stoltz
> >
> > If I have an empty select box in the list style (not dropdown), it
appears
> > very narrow...
> >
> > Is there any way you can make an empty select box have an initial width?
> >
> > Thanks!
> > Dave
> >
> >
> > _______________________________________________
> > Javascript mailing list
> > Javascript at LaTech.edu
> > https://lists.LaTech.edu/mailman/listinfo/javascript
> >
> > _______________________________________________
> > Javascript mailing list
> > Javascript at LaTech.edu
> > https://lists.LaTech.edu/mailman/listinfo/javascript
> >
> >
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list