PDA

View Full Version : My colored scrollbar is not working



kumanjy
Jun 17th, 2002, 06:25 PM
I added a drop-in context box and now my colored scroll bars doesn't work.
The site is: http:\\nwms.ohsd.net

ACJavascript
Jun 17th, 2002, 07:12 PM
Hi well i saw the problem, heres how to fix it.


Just replace the old style with this one. What i've chenged is bold faced

-------

<STYLE type="text/css">
<!--
BODY{scrollbar-face-color: "red"; scrollbar-shadow-color: black;
scrollbar-highlight-color: white; scrollbar-3dlight-color:"red";
scrollbar-darkshadow-color: #white; scrollbar-track-color:"black";
scrollbar-arrow-color: "black"}
-->
</STYLE>

-------

HappyScripting :D:D:D

kumanjy
Jun 17th, 2002, 07:36 PM
I changed the script and it is now working.
Thanks

QuackHead
Jun 18th, 2002, 09:15 PM
less code, looks better...

<style>
BODY {scrollbar-base-color: #FF0000; scrollbar-arrow-color: #000000;}
</style>

that'll give you the same effect with a better colour coordination...

#FF0000 is the colour code for Red
#000000 is the colour code for black

~Quack

mouse
Jun 18th, 2002, 10:30 PM
If your hex code is in pairs, for example; #000000 or #006699, you can use a single digit for each pair, so #000 and 069, would give the same results. Only when used in styling though.