Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4531166
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T13:52:41+00:00 2026-05-21T13:52:41+00:00

Sorry for the brief title, I wasn’t sure how to word this. Basically I

  • 0

Sorry for the brief title, I wasn’t sure how to word this. Basically I am looking for some help to create (or the source code to an existing control) that will produce and picklist as shown in the image below.

http://img807.imageshack.us/i/picklistcontrol.png/

It needs to display the full length value once clicked but otherwise it should have a truncated value. This needs to be in classic asp or javascript/jquery.

Any help would be greatly appreciated.

EDIT:

Sorry but I didn’t realise this would be a problem but the solution must work in IE7 and greater.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T13:52:41+00:00Added an answer on May 21, 2026 at 1:52 pm

    This can be achieved using just basic HTML and CSS:

    fiddle http://jsfiddle.net/garreh/kFH3u/

    <style type="text/css">
       select { width: 100px; }
    </style>
    
    <select name="test">
        <option>Here is some text.</option>
        <option>Here is some more text.</option>
        <option>And some more text.</option>
        <option>This is another sentence.</option>
        <option>This is a slightly longer sentence.</option>
    </select>
    

    IE always has to be "special" 😉

    Anyway, take a look here: Taming the select


    (source: icant.co.uk)

    There is also a good stackoverflow answers in this post here: Select dropdown with fixed width cutting off content in IE

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry about the title name I didn't know how to explain this lol.. Basically,
Sorry but I am not sure how to ask this question but I am
Sorry I could not find this. $('div#loader').slideDown(fast).delay(1.5); Does not word as expected, I want
Sorry if this is a noob question, but All my code is error-free and
sorry if the title is worded oddly, not really sure how to say it.
Sorry the title isn't more help. I have a database of media-file URLs that
(Sorry for the not-so-good-title, I'm not sure how my problem can be solved, thus
Sorry if this has been asked before. Is it possible to create class in
Sorry if this is a repeat, but I've been looking for an answer to
Sorry for this simple question, but I can't solve it... There is an example:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.