Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] SELECT size in IE
- From: javascript@xxxxxxxxxx (Ziggy)
- Subject: [Javascript] SELECT size in IE
- Date: Fri, 21 Jun 2002 14:42:27 -0400
This is a multi-part message in MIME format. ------=_NextPart_000_00A0_01C21931.DD3CDAC0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx] On Behalf Of Peter Brunone Sent: Friday, June 21, 2002 2:34 PM To: javascript@xxxxxxxxxx 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 <http://rd.yahoo.com/welcome/*http://fifaworldcup.yahoo.com/fc/en/spl> for Video Highlights of 2002 FIFA World Cup ------=_NextPart_000_00A0_01C21931.DD3CDAC0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <TITLE>Message</TITLE> <META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D115444018-21062002><FONT=20 color=3D#0000ff>Peter,</FONT></SPAN></DIV> <DIV><SPAN class=3D115444018-21062002><FONT=20 color=3D#0000ff></FONT></SPAN> </DIV> <DIV><SPAN class=3D115444018-21062002><FONT color=3D#0000ff>You can use = style sheets=20 for that, either create a class for the select to use which has width: = 200; in=20 it, for example, and reference that with CLASS=3D"MyStyles"... or just = add=20 STYLE=3D"width: 200;" to the <SELECT> tag. I don't know the unit = of=20 measurement it uses, but it works on selects, input boxes, buttons,=20 etc.</FONT></SPAN></DIV> <DIV><SPAN class=3D115444018-21062002><FONT=20 color=3D#0000ff></FONT></SPAN> </DIV> <DIV><SPAN class=3D115444018-21062002><FONT=20 color=3D#0000ff>Cheers,</FONT></SPAN></DIV> <DIV><SPAN class=3D115444018-21062002><FONT=20 color=3D#0000ff></FONT></SPAN> </DIV> <DIV><SPAN class=3D115444018-21062002><FONT = color=3D#0000ff>Kim</FONT></SPAN></DIV> <DIV><SPAN class=3D115444018-21062002><FONT=20 color=3D#0000ff></FONT></SPAN> </DIV> <BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px"> <DIV></DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr = align=3Dleft><FONT=20 face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B>=20 javascript-admin@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx] <B>On = Behalf=20 Of </B>Peter Brunone<BR><B>Sent:</B> Friday, June 21, 2002 2:34=20 PM<BR><B>To:</B> javascript@xxxxxxxxxx<BR><B>Subject:</B> [Javascript] = SELECT=20 size in IE<BR><BR></FONT></DIV> <P> This doesn't seem to be adjustable, but is there = any way=20 to fix the width of a SELECT in IE so that no matter what entries are = in it,=20 it's always the same size? I'm currently filling it with a dummy = entry=20 made of underscores when empty, and padding the name value when I put = rows=20 into it, but without a fixed-width font, I'm not able to really = maintain the=20 width of the box. Any thoughts?</P> <P>Cheers,</P> <P>Peter Brunone</P> <P><BR> <HR SIZE=3D1> <B>Do You Yahoo!?</B><BR><A=20 = href=3D"http://rd.yahoo.com/welcome/*http://fifaworldcup.yahoo.com/fc/en/= spl">Sign-up=20 for Video Highlights</A> of 2002 FIFA World = Cup</BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_00A0_01C21931.DD3CDAC0--
- Follow-Ups:
- [Javascript] SELECT size in IE
- From: Peter Brunone
- [Javascript] SELECT size in IE
- References:
- [Javascript] SELECT size in IE
- From: Peter Brunone
- [Javascript] SELECT size in IE
- Prev by Date: [Javascript] SELECT size in IE
- Next by Date: [Javascript] Override browser disabling Javascript
- Previous by thread: [Javascript] SELECT size in IE
- Next by thread: [Javascript] SELECT size in IE
- Index(es):