[Javascript] Select Box - List Style

Dave Stoltz dstoltz at shh.org
Mon Jun 14 12:01:28 CDT 2004


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




More information about the Javascript mailing list