Dropdown boxes and formatting...

Results 1 to 2 of 2

Thread: Dropdown boxes and formatting...

  1. #1
    PersonalFoul Guest

    Default Dropdown boxes and formatting...

    ...I&#039;ve noticed that my dropdown boxes width grows to fit the largest item in a list. However, that completely blows up my formatting when dropdown items are contained in a table / form.<BR><BR>How can I fix the width on this control so my formatting isn&#039;t completely hosed? Ideally this control would keep my width settings and provide a horizontal scroll bar so a user could see the remaining text of a listed item.<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default Can't do it.

    The only thing you can do is force the width and truncate whatever&#039;s wider than that.<BR><BR>To force the width, just add a style attribute to your &#060;select&#062; with the value of "width: 100px":<BR>&#060;select name="xyz" style="width: 100px;"&#062;

Posting Permissions

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