Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q67

Feedback on: irt.org FAQ Knowledge Base Q67

Sent by James D. Albert on August 26, 1999 at 14:43:34: - feedback #411

Worth:
Worth reading

Length:
Just right

Technical:
Not technical enough

Comments:
You can also set the width of a select box through CSS:

<select name="province" size="1" style="width: 50mm">
...
</select>

Keep up the good work!





Sent by Petras Astrauskas on October 29, 1999 at 08:53:58: - feedback #545

Worth:
Worth reading

Length:
Just right

Technical:
Just right

Comments:
<select name=name1 style="width: 50mm>
works only on IE, netscape (at least v4.61) ignores the style part.





Sent by Christophe Jaillet on April 12, 2000 at 02:25:36: - feedback #1075

Worth:
Worth reading

Length:
Just right

Technical:
Just right

Comments:
<select name="..." size="1" style="width: 100">
works fine for IE but not for NS

For NS, I propose
<select name="..." size="1" width="100">

If you want sommething that run for IE and for NS, the only solution I have is to combine the two :

<select name="..." size="1" width="100" style="width: 100">


Sent by Lee Trotter on July 28, 2000 at 10:07:58: - feedback #1547

Worth:
Worth reading

Length:
Just right

Technical:
Just right

Comments:
Worked fine in IE but did not work at all in netscape and caused the select box to not size at all thus being unable to see the items in it.


Sent by Johan de Ruiter on December 12, 2000 at 04:52:11: - feedback #2130

Worth:
Worth reading

Comments:
The width of a select box can be controlled in Netscape by the WIDTH argument (number of pixels) or in IE by the STYLE argument.

<select name="province" size="1" width='100' style="width: 50mm">


Sent by eric taylor on February 26, 2002 at 10:47:19: - feedback #3630

Worth:
Worth reading

Length:
Just right

Technical:
Just right

Comments:
I confirmed that the style width attribute works in IE 5.5: you can explicitly state the width, in mm, of a select list, regardless of the character length of that list's contents. However, when you click on the list, the items may not be legible if the text is too long -- so there's the possibility that your select list will contain items the user is never able to read.


Sent by raja mandiga on July 17, 2002 at 10:09:51: - feedback #4010

Length:
Just right

Technical:
Not technical enough

Comments:
It didnt worked in Netscape 4.7.


Sent by Kevin Tate on Thursday July 26, 2007 at 18:22:04 - feedback #4840

Worth:
Very worth reading

Length:
Just right

Technical:
Just right

Comments:
Thanks for the code! I was able to reduce the font size in the select box but couldn't get the width to be regulated.




©2018 Martin Webb