Coloured Scroll Bar

liunx

Guest
How/What code do I use to get a coloured scroll bar. Can anyone out there help????<!--content-->Put this code in the in the <HEAD> section.<br />
<br />
<STYLE type="text/css"><!--<br />
BODY {<br />
scrollbar-base-color: #404040;<br />
scrollbar-track-color: #404040;<br />
scrollbar-face-color: #404040;<br />
scrollbar-highlight-color: #404040;<br />
scrollbar-3dlight-color: #404040;<br />
scrollbar-darkshadow-color: #404040;<br />
scrollbar-shadow-color: #404040;<br />
scrollbar-arrow-color: #404040;<br />
}<br />
--></STYLE><!--content-->i have put the code in OK but i cant get it to change colour it only stays grey please help......<!--content-->http://www.a1javascripts.com/dhtml/page_effects/, go there, you might have to look around a bit, but they have a heap of different scripts to change the scroll bar :D<!--content-->between the head tags?<br />
<br />
:)<!--content-->If you can't see the scroll bar colour change it could be that you are using Netscape. Netscape doesn't support this. At least I have never found it to do so.<br />
<br />
If you are not using netscpae, then without viewing your source I can't help you.<!--content-->Originally posted by Andrew_Flanagan <br />
i have put the code in OK but i cant get it to change colour it only stays grey please help...... <br />
<br />
Here is an example of where u should put the code<br />
<br />
<HTML><br />
<HEAD><br />
<TITLE></TITLE><br />
<STYLE type="text/css"><!-- <br />
BODY { <br />
scrollbar-base-color: #404040; <br />
scrollbar-track-color: #404040; <br />
scrollbar-face-color: #404040; <br />
scrollbar-highlight-color: #404040; <br />
scrollbar-3dlight-color: #404040; <br />
scrollbar-darkshadow-color: #404040; <br />
scrollbar-shadow-color: #404040; <br />
scrollbar-arrow-color: #404040; <br />
} <br />
--></STYLE><br />
</HEAD><br />
<BODY><br />
<br />
</BODY><br />
</HTML><br />
<br />
After u put in the code u can change the colours.<!--content-->And what do you do if you want the scrollbar on the left?<!--content-->Originally posted by Bookie <br />
And what do you do if you want the scrollbar on the left? <br />
<br />
You would have to go to the other side of the world if you want the scrollbar on the left :D j/k<br />
<br />
You cannot place the scrollbar on the left side.<!--content-->ahh fred not so fast there bud, you can have the scroll bar on the left.<br />
<br />
<HTML dir=rtl><br />
<br />
that is all you need.<br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlforums.com/showthread.php?s=&threadid=13731">http://www.htmlforums.com/showthread.ph ... adid=13731</a><!-- m --><!--content-->
 
Back
Top