8

I would like the style of the scrollbar of my div style was similar to the iPhone or the new finder osx Lion. It must be compatible with all browsers. Is it possible?

0

3 Answers 3

17

There are actually ways to change the looks of the scrollbars in webkit browsers, with CSS only http://css-tricks.com/9130-custom-scrollbars-in-webkit/ It is currently not possible to style scrollbars to have a uniform cross browser appearance, though. You will have to resort to jQuery to get this done http://www.net-kit.com/jquery-custom-scrollbar-plugins/

Sign up to request clarification or add additional context in comments.

2 Comments

Here is a great answer that details cross-browser scrollbar customizeability: stackoverflow.com/a/14150577/573634
links doesn't work anymore
2

You can style scrollbars using jQuery.

http://www.net-kit.com/jquery-custom-scrollbar-plugins/

I think, #3 in that list is similar to the iPhone scrollbars. May require slight modification.

Comments

0

Changing the scrollbars apprearance using CSS only is a feature that is only supported in IE as far as I know. There are however options involving some scripting (using jQuery plugins) that can do the trick.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.