Previous Thread
Next Thread
Print Thread
Hop To
Scroll Bar color on different styles
#248591 03/03/2012 6:36 PM
Joined: Dec 2003
Posts: 6,144
Likes: 21
Ruben Online Yawn OP
OP Online Yawn
Joined: Dec 2003
Posts: 6,144
Likes: 21
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
Ruben #248594 03/04/2012 10:07 AM
Joined: Jun 2006
Posts: 81
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
Ruben #248595 03/04/2012 11:33 AM
Joined: Jun 2006
Posts: 15,938
Likes: 27
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,938
Likes: 27
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, I Find Rocks, 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 Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
[NOTABUG] Report Post bug..
by Morgan - 07/05/2020 1:48 PM
Trial Subscription question.
by Ruben - 07/03/2020 2:34 PM
Unread posts no longer tracked per user...
by KirkW - 06/16/2020 12:21 AM
Max Image file size upload
by jjjjj - 06/10/2020 10:25 PM
Error on Inert into POSTS
by jjjjj - 06/07/2020 8:09 PM
Who's Online Now
3 members (Gizmo, Ruben, 1 invisible), 87 guests, and 56 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
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