PDA

View Full Version : Coloured scroll bars


gregfindley.com
01-21-2006, 11:18 AM
This is proabably something very simple for most of you...

How do you make the scroll bars on sites coloured to suit your colour scheme? Such as on this site they have the light green--->

Thanks,
Greg

Creative Insanity
01-21-2006, 04:40 PM
Simple but only works in IE.
But before it will even work in IE you must remove this from the top of the html section.
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
Then in your css under the body tag add this:
body {
background-color: #FFFFFF;
scrollbar-face-color: #e5fad0;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #e5fad0;
scrollbar-3dlight-color: #408b01;
scrollbar-arrow-color: #000000;
scrollbar-track-color: #e5fad0;
scrollbar-darkshadow-color: #FFFFFF;
margin: 0;
}
Change colour codes to suit.