dcsimg
www.webdeveloper.com
Results 1 to 6 of 6

Thread: Weird <select> problem

  1. #1
    Join Date
    Jan 2005
    Posts
    5

    Question Weird <select> problem

    I have a multiple-selection box that won't widen enough to accommodate the entries. If I change it to a drop-down box, it'll widen when clicked on, but otherwise it's too narrow. Does anyone know what to do about this?

  2. #2
    Join Date
    Dec 2002
    Location
    Pleasanton, CA
    Posts
    2,132

    Re: Weird <select> problem

    What do you mean by 'multiple-selection box'.
    Generally it's a drop-down box with 'size=XX multiple' added

    Show a snippet of your HTML code.

  3. #3
    Join Date
    Jan 2005
    Posts
    5
    Yes, that's what I meant, a <select> tag with the "multiple" attribute set.

  4. #4
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    21,430
    PHP Code:
    <select name="select" style="width: 15em;" multiple
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

  5. #5
    Join Date
    Jan 2005
    Posts
    5
    Hey, that actually worked! Thanks, NogDog.

  6. #6
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    21,430
    Originally posted by swadams
    Hey, that actually worked! Thanks, NogDog.
    You're welcome.

    There are all sorts of handy things you can do with CSS styling (and I'm still learning them).
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles