Previous Thread
Next Thread
Print Thread
Hop To
Scroll Bar color on different styles #248591 03/03/2012 5:36 PM
Joined: Dec 2003
Posts: 5,998
Ruben Offline OP
OP Offline
Joined: Dec 2003
Posts: 5,998
One thing that bugs me that I can't figure out.
There are some popular styles used. But the scroll bar colors are not addressed.
Usually it is in the shout box.

For example take the black and gold style here.
As well as ubbthreads_stock and ubbthreads_dark.

It still has default colors for the scroll bars. For me that ends up being blue.

How would one attempt to add a class to the style to change the color of the scroll bar?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: Scroll Bar color on different styles [Re: Ruben] #248594 03/04/2012 9:07 AM
Joined: Jun 2006
Posts: 81
Mike L Offline
member
Offline
member
Joined: Jun 2006
Posts: 81
Last I knew (have not kept current on web specifications for several years now) changing the scroll bar of a Browser window is not supported via css as it is/was not considered "legal" according to W3C.

At least at one time, many browsers would not let a web page change the scroll bar color.

Consider that this is something an individual user can set via their browser. You have control over what your web pages look like. Users have control over what their browser looks like.

Further, many have specific color schemes for visibility reasons (think color-blind). If you could change the browser behavior, you'd be messing with such folk's ability to see their browser controls. Not a good thing. wink


Re: Scroll Bar color on different styles [Re: Ruben] #248595 03/04/2012 10:33 AM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
Yeah, they're not standards compliant, and not all browsers support changing the scrollbar colors; hence why there are no classes for it in the style editor...

I believe we're trying to more closely hit standards compliance, so I wouldn't really expect this to really be addressed in the default editor, but you could add it to the extra css...

That all being said, clicky...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Mobile app?
by Baldeagle - 12/06/2019 9:32 PM
How do you change Text Line spacing?
by jorb - 11/23/2019 12:14 AM
What happened to FAQ or Forum Help
by Ruben - 11/20/2019 11:58 AM
Search feature encountering an Error message
by jorb - 11/20/2019 12:06 AM
UBB Dev
by JAISP - 11/03/2019 11:01 AM
Who's Online Now
1 registered members (isaac), 80 guests, and 393 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20191023)