You must Sign In to post a response.
  • Category: HTML

    Horizontal scroll bar in Drop down box

    hi friends

    i want any java script for giving horizontal scroll bar for the drop down box,

    i am not want increase the drp down box width. it is a fixed onw, but i give a horizontal scroll bar to visualize the large length of contents

    Thanks,
    Maignanamurthy.A
  • #538375
    Hi,

    You have to take a div and design like dropdown
    You can not add it direct

    See the following Link

    http://www.quackit.com/html/codes/html_scroll_box.cfm

    Cheers!!!!

    Rajesh Kumar Parbat
    (Mentor,Editor,MVM)

  • #538412
    http://www.codeproject.com/KB/scripting/WithHorizontalScrollbar.aspx
    Regards:
    Pal(Parthiv) Patel

    If you Like My Post Then Please Go to Below link and Like this facebook page.

  • #540198
    hay , i want to see the code that you have the error............

  • #560669
    Hello,

    Use like this:


    <!-- HTML Codes by Quackit.com -->
    <div style="height:120px;width:250px;font:16px/26px Georgia, Garamond, Serif;overflow:scroll;">
    As you can see, once there's enough text in this box, the box will grow scroll bars... that's why we call it a scroll box! You could also place an image into the scroll box.
    </div>


    Thanks
    Amit Shah


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.