Select List Size

Results 1 to 2 of 2

Thread: Select List Size

  1. #1
    Join Date
    Dec 1969

    Default Select List Size

    Is there a way to set the WIDTH of a select list. The width changes depending on its contents - i am refreshing the content of the screen depending on other page variables and the screen looks untidy as the select list &#039;jumps around&#039;!<BR><BR>I have tried putting the list into a table and setting the width of the table, but the list just adjusts itself within these retrictions!<BR><BR>Any ideas?

  2. #2
    Vadim Guest

    Default RE: Select List Size

    I just checked this for my own reassurance in the HTML 4.01 specs, and no, there is no way of doing this. <BR><BR>(<BR><BR>You can probably do this sort of thing if you REALLY need to format it "nicely". <BR><BR>Before entered the option value, set a script to check the Number of letters, and just add a non-breaking-line-space character to adjust to an appropriate character length. That&#039;s simple enough to do. Just I don&#039;t know how many forms you have, and so... this can become long.. just build a function and call it perhaps. <BR><BR>Hope this helped,<BR><BR>Vadim C.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts