Does anyone have some CSS code to make the scroll bar on the browser a diffrent color!


Thank you for your help!

Hi Croft .L,
This is the code:

BODY {SCROLLBAR-FACE-COLOR: #D4D0C8; SCROLLBAR-HIGHLIGHT-COLOR: #999999; SCROLLBAR-SHADOW-COLOR: #999999; SCROLLBAR-3DLIGHT-COLOR: #ffffff; SCROLLBAR-ARROW-COLOR:  #000000; SCROLLBAR-TRACK-COLOR: #E3E3E3; SCROLLBAR-DARKSHADOW-COLOR: #666666; }

Good luck.

commented: Very Helpful! +2

Wow thats good! Thanks!
It's taken me ages to get one thats works.
I've heard the colors only show in IE 5 +.
Is this true?
Thanks again!

Yes...scrollbar coloring only works in IE and not at all with an xhtml DOCTYPE.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.