[Javascript] SELECT size in IE

Peter Brunone peter_brunone at yahoo.com
Fri Jun 21 14:22:42 CDT 2002


    Well, I'm glad we have this list; for some reason, that possibility escaped my notice :)  Thanks for the wake-up call, Kim; that worked just fine.
    NOW if I could only figure out how to format fixed-width columns *inside* the select box...
  Ziggy <ziggy at winks.com> wrote: Peter, You can use style sheets for that, either create a class for the select to use which has width: 200; in it, for example, and reference that with CLASS="MyStyles"... or just add STYLE="width: 200;" to the <SELECT> tag. I don't know the unit of measurement it uses, but it works on selects, input boxes, buttons, etc. Cheers, Kim -----Original Message-----
From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu] On Behalf Of Peter Brunone
Sent: Friday, June 21, 2002 2:34 PM
To: javascript at latech.edu
Subject: [Javascript] SELECT size in IE


    This doesn't seem to be adjustable, but is there any way to fix the width of a SELECT in IE so that no matter what entries are in it, it's always the same size?  I'm currently filling it with a dummy entry made of underscores when empty, and padding the name value when I put rows into it, but without a fixed-width font, I'm not able to really maintain the width of the box.  Any thoughts?

Cheers,

Peter Brunone



---------------------------------
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup


---------------------------------
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20020621/862b9080/attachment.htm>


More information about the Javascript mailing list