Click to See Complete Forum and Search --> : Horizontal scroll bar color?
chugger93
Jul 2nd, 2003, 03:26 PM
How do some of these web sites have a colored horizontal scroll bar on the left side. How do I do this with my website?
Is it javascript or what?
for example
http://graf-users.edu.ats.dk/maryus1/Aqua%20Button%20Pro%20(Photoshop%206%20or%20higher).htm
Thanx
RealisticGraphics
Jul 2nd, 2003, 04:50 PM
You use CSS (Casecading Style Sheets) to pull this off:
<style>
body{
SCROLLBAR-FACE-COLOR: #0099cc;
SCROLLBAR-HIGHLIGHT-COLOR: #bec6da;
SCROLLBAR-SHADOW-COLOR: #bec6da;
SCROLLBAR-3DLIGHT-COLOR: #000000;
SCROLLBAR-ARROW-COLOR: #ffffff;
SCROLLBAR-TRACK-COLOR: #6481aa;
SCROLLBAR-DARKSHADOW-COLOR: #000000
}
</style>
The Hobo
Jul 2nd, 2003, 09:08 PM
Unless Netscape, Opera, etc have updated, I believe that only works in IE.
RealisticGraphics
Jul 3rd, 2003, 06:48 PM
You are correct, but it is the only way to do it. I believe that it may work in the newest version of Netscape. Anyway, who use Opera anymore?
The Hobo
Jul 3rd, 2003, 08:34 PM
Originally posted by RealisticGraphics
Anyway, who use Opera anymore?
According to my web statistics, 0.7% of my visitors. :p
RealisticGraphics
Jul 3rd, 2003, 09:41 PM
WOW! That many! :eek:
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.