Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Display horizontal scrollbar at top and bottom of div

    Is there any way to display a horizontal scrollbar at the top of a div (as well as the bottom)? I have a lot of content in the div and don't want the user to scroll to the bottom in order to scroll horizontally. It would be nice to have a scrollbar at the top also.

  • #2
    Senior Coder timgolding's Avatar
    Join Date
    Aug 2006
    Location
    Southampton
    Posts
    1,519
    Thanks
    114
    Thanked 110 Times in 109 Posts
    You cant do this with HTML, CSS. Scroll bars are to the right and bottom. However you could do something with javascript. However it would be a lot of work. Maybe have a look around for a decent javascript custom scroll bar here's a couple i found. don't know how easy they would be to hack to put scroll bars on other side?

    http://www.hesido.com/web.php?page=customscrollbar
    http://dyn-web.com/dhtml/scroll/
    You can not say you know how to do something, until you can teach it to someone else.


  •  

    Posting Permissions

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