change the scrollbar color in a listbox

S

sl

Greetings,

Is it possible to change the color of the scrollbars in a listbox in a
browser? I have seen many references to:

document.body.style.scrollbarFaceColor="colorname"
document.body.style.scrollbarArrowColor="colorname"
document.body.style.scrollbarTrackColor="colorname"
document.body.style.scrollbarShadowColor="colorname"
document.body.style.scrollbarHighlightColor="colorname"
document.body.style.scrollbar3dlightColor="colorname"
document.body.style.scrollbarDarkshadowColor="colorname"

This does not work. Is it yet a standard? Was it only around for IE5.5+
then deprecated? I dont want to change the browser scrollbars just the
scrollbars in a listbox within a browser. See the page
nflhallofshame.com/database.aspx. I want the listbox to match the color
scheme.

Any help would be appr.

Steve
 
T

Tim_Mac

hi, here is a good post on the matter:
http://www.ozzu.com/ftopic64883.html

quote:

Support for scrollbar colour properties will be spotty at best. According to
the W3C, "These properties are illegal: they are neither defined in any CSS
specification nor are they marked as proprietary (by prefixing them with
"-vendor-")." Until your post, I actually thought they were IE-only; I
didn't realise Firefox supported them at all.

hope this helps
tim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top