Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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
Joined: Jun 2006
Posts: 81
M
member
member
M Offline
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


Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
3 members (rootman, Gizmo, Nightcrawler), 562 guests, and 186 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)