View Full Version : Change color of scrollbars...
How can I change the color of the srollbars, and mays be of the whole browser window ?
thx
Tom:thumbsup: :confused:
You'll need to use CSS for this, which also currently only works in IE5.5. Add the below to the HEAD portion of your page:
<style>
<!--
BODY{
scrollbar-face-color:#75EA00;
scrollbar-arrow-color:brown;
scrollbar-track-color:#EEEEEE;
scrollbar-shadow-color:'';
scrollbar-highlight-color:'';
scrollbar-3dlight-color:'';
scrollbar-darkshadow-Color:'';
}
-->
</style>
Arctic Fox
05-02-2003, 12:43 AM
IE5.5+
;)
cg9com
05-02-2003, 07:16 AM
and konq.
;)
Does anyone know if this script is to become more widely used? I have just validated (well I tried), my css files and it tells me that the script isnt recognised.
Ho Hum.
liorean
05-13-2003, 07:32 PM
script --> stylesheet
This will NOT become a W3C standard. Several W3C WGs have opposed it, and the style WG have even released a document on how to disable it in IE.
The argument behind that descision is that scrollbars belong to the user interface and not the document.
whackaxe
05-14-2003, 03:46 PM
The argument behind that descision is that scrollbars belong to the user interface and not the document.
that a damn poor excuse. i find it ugly to have your all green or blue or red page, then a big boring grey bar on the side. i can't see why anyone would turn it off as well?:s if it is removed, then use overflow-x and code your own sscroll bars (but j00 have to be 31337!)
liorean
05-14-2003, 07:13 PM
I think you don't understand the purpose of W3C here... They aren't an organisation made for easing the work of developers or even implementors. Their first and foremost concern is the user. That means accessibility and usability come foremost. Only after the user is taken into count comes the things developers and implementors value. Building a spec that is powerful and easy to both parse and write to is the major issue from that side - but the accessibility is THE primary issue. Changing the way user interface works, as differenciated from changing the presentation, is very bad for accessibility. That's why it won't enter the specs.
Not unless they take a major turn in priorities, which I find highly unlikely.
http://www.w3.org/Style/Examples/007/scrollbars.html http://forums.yupapa.com/images/smiles/forkfork.gif
Why not let your site reflect User preferences for colors (http://www.w3.org/TR/REC-CSS2/ui.html#system-colors) , instead of trying to change their interface?
That seems worthy of a standard to me...
I want to notice my browser chrome about as much as I want to notice the steering wheel in my car. I would hate if it suddenly a started to flash or grew fur too. :p
Hmm. I wonder how the usability of my car would differ, were I to have bought a green one instead of red?
I dont understand how changing the colour would confuse the user. I would have given them credit for more intelligence than that. Though I would agree that repositioning it to the left of the window (as somebody posted a few days ago), would be a bit much for some to enjoy. A bit like being forced to drive LHD cars when used to RHD or vice versa?
It would matter if the color suddenly changed when you made a turn, wouldn't it? :D
cg9com
05-15-2003, 12:57 AM
scrollbars are part of the user interface NOT the document, they are a means of navigation through a site, they are important and are of a higher priority than the document.
Because of that, it wont be a standard, and it shouldnt be.
switching sides of the scrollbar is another example, although i do appreaciate the freedom to do that if i want (in IE), i never actually would for a site.
like liorean said, its bad for accessability, thats the point.
use it if you want, im not disagreeing (it IS cool), but should it be a standard? no.
whackaxe
05-15-2003, 03:31 PM
the W3C remind me of the united nations, absolutly powerless compared to the people with power. they way they say its illegal sounds like we should lynch bill gates! anyways, the day I start coding with standards in mind, is the day the major browsers stick to the standards. i can't see why people would want dull grey bars
ronaldb66
05-15-2003, 03:57 PM
absolutly powerless compared to the people with power
The W3C is not about power; neither are standards. Standards are about making life easier for all of us, developers and users alike. Of course there are bound to be a few that think easy living is for idiots... :rolleyes:
The W3C don't impose standards (there's a thought...); they offer them because they are convinced they're the better way.
the day the major browsers stick to the standards.
That's no fault of the standards, but of browser manufacturers. The standards have been around way long enough for all manufacturers to conform to them; still, they did't (not right away, anyway).
i can't see why people would want dull grey barsThat's up to them, not you.
Why are you assuming that "dull grey bars" are the norm, anyway?
Mine are blue & look quite nice to me... ;)
whackaxe
05-16-2003, 05:17 PM
i find that the W3C are wasting their time really. if they want to give out standards and people use them one day then thats good for them but for now, i just dont see the point.
and about the scroll bars. maybe not grey, have them whatever color, but i like them to go with the color scheme :D
and about me saying:
"absolutly powerless compared to the people with power"
thats like the american general or something that said:
"either saddam is dead or err.......alive...."
my bad....
cg9com
05-17-2003, 12:18 AM
Originally posted by whackaxe
i find that the W3C are wasting their time really. if they want to give out standards and people use them one day then thats good for them but for now, i just dont see the point. [/color]]
Standards are already in existance and are/have been implemented in all major browsers to some extent.
standards make a non-proprietary document, that with semantic markup will introduce accessability, remember the internet is platform-indapendant.
whackaxe
05-17-2003, 10:47 AM
reember also that the internet's a jungle, and that the lion (hence microsoft IE) get to rule. damn shame but you have to admit some of their features are cool
zoobie
05-18-2003, 12:48 AM
What even funnier are the people who wonder why the scrollbars and buttons are always grey...:rolleyes:
cg9com
05-18-2003, 05:24 AM
Originally posted by whackaxe
reember also that the internet's a jungle, and that the lion (hence microsoft IE) get to rule. damn shame but you have to admit some of their features are cool
yea their filters are cool, and I actually like the scrollbars coloring, but from an accessability standpoint I don't use them.
Same kind of reason I try not to color form elements to much either.
whackaxe
05-18-2003, 04:08 PM
some filters are ok, but the page tranisiton ones are a pain after having god knows how many ad ages using the diagonal blinds :p
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.