Log in

View Full Version : How do i change the color of the scroll bar?


Compnerd
02-03-2007, 22:19
I am looking for a script to change the color of the scroll bar. Does anyone know how i would go about doing this?

JBotAlan
02-03-2007, 22:30
This:
http://iconico.com/CSSScrollbar/
might be of interest to you. However, it appears that the color-changing code is not up to any standard; it won't work in Firefox.

I personally hate websites that mess with the browser--PDF files that take up to 30sec to load, flash intros that don't work when I have my browser settings locked down...you get the idea. I'm not sure you really want to change the scroll bar at all.

But it's up to you.

Good luck,
JBot

Compnerd
02-03-2007, 22:35
Ok thank you. i wasn't aware that it was not standard.

artdutra04
02-03-2007, 22:40
I'd suggest against changing the browser scroll bar colors, as the only browser it would actually work in is Internet Explorer. The only thing it would do is just waste bandwidth. ;)

JBotAlan
02-03-2007, 22:41
Ok thank you. i wasn't aware that it was not standard.

Don't quote me on this. Please do check it out yourself. But it makes sense that if Internet Explorer is the only browser that works with it, that it isn't in the standard.

JBot

Chris2
03-03-2007, 10:16
It is not standard CSS. If you want to run it through a CSS checker, run my robotics website through. It will fail.

Gigaman2003
06-03-2007, 19:40
i like adhering to w3c standards so i've always hated websites that change the scrollbars. If you're going to make a custom scrollbar for consistencies sake, use javascript. Keep in mind that you will be rendering the scrollbar useless to the 10% of the browser population with javascript disabled/unavalible.