[Javascript] SELECT size in IE

Cutter Bl cutterbl at hotmail.com
Mon Jun 24 07:27:08 CDT 2002


I think you would need a custom Active X control (IE only) to do something 
like that.

Cutter
http://www.falcon-knives.com

----Original Message Follows----
From: Peter Brunone <peter_brunone at yahoo.com>
Reply-To: javascript at LaTech.edu
To: javascript at LaTech.edu
Subject: RE: [Javascript] SELECT size in IE
Date: Fri, 21 Jun 2002 12:22:42 -0700 (PDT)


     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


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com




More information about the Javascript mailing list