How to Show Horizontal Scrollbar on ListBox?

Discussion in 'ASP .Net Web Controls' started by Benson Cheng, Feb 15, 2005.

  1. Benson Cheng

    Benson Cheng Guest

    Dose anyone know how to show the horizontal scrollbar on a ListBox web
    control? Sometime there are values just too long, but so far I can't seem
    find a way to do this.

    Thanks,
    Benson.
     
    Benson Cheng, Feb 15, 2005
    #1
    1. Advertising

  2. You should put the listbox inside a div with the "overflow" CSS attribute
    set to achieve a horizontal scrollbar.
    http://www.w3schools.com/css/pr_pos_overflow.asp

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    http://Steve.Orr.net


    "Benson Cheng" <> wrote in message
    news:...
    > Dose anyone know how to show the horizontal scrollbar on a ListBox web
    > control? Sometime there are values just too long, but so far I can't seem
    > find a way to do this.
    >
    > Thanks,
    > Benson.
    >
    >
     
    Steve C. Orr [MVP, MCSD], Feb 15, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marco Liedekerken

    Panel with horizontal scrollbar

    Marco Liedekerken, Jun 26, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    5,955
    Rajesh.V
    Jun 26, 2003
  2. Jeremy Chapman
    Replies:
    1
    Views:
    931
    szabelin
    Aug 15, 2003
  3. Lundy
    Replies:
    0
    Views:
    687
    Lundy
    Oct 6, 2004
  4. Replies:
    0
    Views:
    613
  5. Vincent Nguyen

    How to show the horizontal scrollbar for Listbox control?

    Vincent Nguyen, May 5, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    169
    Vincent Nguyen
    May 5, 2005
Loading...

Share This Page