-1

Possible Duplicate:
Change style scrollbar div for my site
css scrollbar style cross browser

I wanted to know how to change the style/look/image of the web scrollbar via CSS? Is it even possible?

Community
  • 1
  • 1
James Logan
  • 823
  • 1
  • 8
  • 8
  • It's currently possible (I believe) for webkit browsers only. – Shmiddty Nov 19 '12 at 17:57
  • possible duplicate: [stackoverflow.com/questions/8562851/...](http://stackoverflow.com/questions/8562851/how-to-change-the-scrollbar-to-custom-design-avoid-using-the-default-browser-l) – War10ck Nov 19 '12 at 17:57
  • 2
    Three "possible duplicate" comments, but no close wote? **WTF** – Šime Vidas Nov 19 '12 at 18:01

5 Answers5

0

I don't think it's possible (in all browsers) with CSS. It can be achieved with JavaScript though.

diggersworld
  • 11,830
  • 21
  • 77
  • 115
  • 4
    This is a comment though as it doesn't explain how to do this in JavaScript. It's not a full answer. – War10ck Nov 19 '12 at 17:59
  • 1
    The question does not ask for a solution, it simply asks if it is possible. Therefore this qualifies as an answer. – diggersworld Nov 19 '12 at 18:01
0

It is not possible to do this via CSS due to different browser engines/APIS. however you might want to use the jQUERY Solution

defau1t
  • 10,373
  • 2
  • 32
  • 45
  • "Cross browser complexities" has nothing to do with it. There is no standard CSS for this. The reason is you would be changing the user's browser and that is not the purpose of CSS. – Rob Nov 19 '12 at 18:08
  • Ohh I think I should have mentioned different browser APIS actually – defau1t Nov 19 '12 at 18:09
0

There is no standard CSS for doing this though IE and Opera have proprietary means of doing so. The reason is you would be changing the user's browser look which is not the purpose of CSS.

Rob
  • 13,342
  • 26
  • 40
  • 60
0

A good post on how to do this for Safari/Chrome: http://css-tricks.com/custom-scrollbars-in-webkit/ Internet Explorer users don't deserve good design anyway, right? :P

kthornbloom
  • 3,553
  • 1
  • 24
  • 41
-1

Here you go , this script degrades nicely in most browsers.

JqueryScrollpane

KrisTemmerman
  • 47
  • 1
  • 9