SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast murphaloid's Avatar
    Join Date
    Oct 2011
    Posts
    54
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Scrollbar Positioning?

    Hi guys

    Is it possible to change the position of a scrollbar using css, from the right side of a div to the left? Cant seem to find a definitive answer via Google!

    Thanks

  2. #2
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    6,060
    Mentioned
    219 Post(s)
    Tagged
    12 Thread(s)
    I don't think it can be done using just CSS (although I would be happy to be proved wrong).
    There is quite a good discussion of the subject here: http://stackoverflow.com/questions/5...ble-for-google

    What would work though, is using a jQuery plugin such as Tiny Scrollbar: http://baijs.nl/tinyscrollbar/
    You can use this, then apply a style of "float:left" to the scroll bar and have it appear on the left hand side of the div.
    Here's a working example: http://jsfiddle.net/MsAgZ/

    Of course, this would provide a good deal of usability problems, so just because it is possible, doesn't make it a good idea.

  3. #3
    SitePoint Enthusiast murphaloid's Avatar
    Join Date
    Oct 2011
    Posts
    54
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    A wonderful reply! I'll check that out.

    Thank you


Bookmarks

Posting Permissions

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