Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the deal with CSS and scroll bars?

Tags:

html

css

I've got a client with an HTML page with a couple of scrolling divs with text content. She's using a heavily image-based design so the default scroll bars don't suit it at all. She'd like to use a different style but to my knowledge that isn't possible.

What do you think?

like image 296
bloudermilk Avatar asked Feb 08 '09 21:02

bloudermilk


2 Answers

There's a jQuery answer to this -

jScrollPane

There are some nice examples of the effects it can achieve

like image 155
Russ Cam Avatar answered Oct 08 '22 15:10

Russ Cam


From a usability point of view, changing scroll bars is a no-go. The user is familiar with his/her operating system and the visual environment it provides. Changing this does create confusion, especially among those who are new to using computers, old people etc.

The majority of users today will probably recognize a scroll bar as long as it has it's basic shape - and many will not even use the bar itself, but just the scroll wheel on the mouse.

It's still a thing to think about though. Consider your audience. And whatever you do make sure it actually works on all platforms/in all browsers if you use a custom scroll bar.

like image 41
Arve Systad Avatar answered Oct 08 '22 15:10

Arve Systad