Scrollbar unable to change colour. Why is this so ?

10 Messages Forum Options Options
Permalink
frogger
Scrollbar unable to change colour. Why is this so ?
Reply Threaded More
Print post
Permalink
Hi,

Before adding the shadowbox (which is fantastic) to my web site I had the scrollbar colour. I had the following code in my css file. After the shadowbox script has been added the scrollbar has now gobe back to standard colour. How can I make it work with below code again please ?

BODY{
scrollbar-arrow-color: #FFFFFF;
scrollbar-3dlight-color: #666666;
scrollbar-highlight-color: #FFFFFF;
scrollbar-face-color: #0078BE;
scrollbar-shadow-color: #FFFFFF;
scrollbar-darkshadow-color: #666666;
scrollbar-track-color: #DEDEDE;
}
mjijackson
Re: Scrollbar unable to change colour. Why is this so ?
Reply Threaded More
Print post
Permalink
Hmm...absolutely no idea. What browser are you testing on?
frogger
Re: Scrollbar unable to change colour. Why is this so ?
Reply Threaded More
Print post
Permalink
Internet explorer 7... very strange
frogger
Re: Scrollbar unable to change colour. Why is this so ?
Reply Threaded More
Print post
Permalink
In reply to this post by frogger
Does anyone else know why this is happening. Has it something to do with changing the BODY as I had some other code on the <BODY> section that I had to remove that was causing issues with shadowbox.
zulaica
Re: Scrollbar unable to change colour. Why is this so ?
Reply Threaded More
Print post
Permalink
Do you have a link for a test case available? It would be much easier to figure this out.
frogger
Re: Scrollbar unable to change colour. Why is this so ?
Reply Threaded More
Print post
Permalink
Try this link please

http://www.globalsurftag.com/new/

Below code is in http://www.globalsurftag.com/new/gst.css

BODY{
scrollbar-arrow-color: #FFFFFF;
scrollbar-3dlight-color: #666666;
scrollbar-highlight-color: #FFFFFF;
scrollbar-face-color: #0078BE;
scrollbar-shadow-color: #FFFFFF;
scrollbar-darkshadow-color: #666666;
scrollbar-track-color: #DEDEDE;
}

thanks
Jason
Wizzud
Re: Scrollbar unable to change colour. Why is this so ?
Reply Threaded More
Print post
Permalink
html {
scrollbar-arrow-color: #FFFFFF;
scrollbar-3dlight-color: #666666;
scrollbar-highlight-color: #FFFFFF;
scrollbar-face-color: #0078BE;
scrollbar-shadow-color: #FFFFFF;
scrollbar-darkshadow-color: #666666;
scrollbar-track-color: #DEDEDE;
}
frogger
Re: Scrollbar unable to change colour. Why is this so ?
Reply Threaded More
Print post
Permalink
Too easy. Thank you so much. So should the correct command be using html instead of body when changing scrollbar properties?
mjijackson
Re: Scrollbar unable to change colour. Why is this so ?
Reply Threaded More
Print post
Permalink
Apparently. It seems the body element doesn't properly apply those properties in this case.
frogger
Re: Scrollbar unable to change colour. Why is this so ?
Reply Threaded More
Print post
Permalink
No worries. Thanks again for everyones help.