Question

My question is:

I know i can style scroll bars in my website, but i'm wondering why nobody does?

Is there any reason why scrollbars are always default in all websites out there?

Was it helpful?

Solution

The general approach is that you have two choices, use a javascript plugin, or use CSS which is mainly supported in IE and Chrome, but not in Firefox.

The main reason customized scrollbar styling isn't the norm is the varying degrees of CSS support by the major browsers, the lack of consistency in the support present, and the fact the alternative of using a JS plugin may be unsuitable in some contexts and can be perceived as over complication vs the relative benefits of having styled scrollbars. For something as simple as as scrollbar styling you can find yourself implementing a large amount of code for little gain.

As covered in the above links- there is also a large school of thought that changing something like scrollbars, which is an integral part of OS UX, is a no go in terms of good UI.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top