I would imagine that all !IE browsers will follow suit and let you style the scrollbars in the near future. It is such a wanted and used function.
Here's the javascript that will let you do it in IE, but you need a browser detector
Code:
if(ie){
bodyStyle=document.body.style;
bodyStyle.scrollbarTrackColor="#EBCD8C";
bodyStyle.scrollbarArrowColor="#FaFaFa";
bodyStyle.scrollbarFaceColor="#D8C59D";
bodyStyle.scrollbarHighlightColor="#fafafa";
bodyStyle.scrollbar3dlightColor="#fafafa";
bodyStyle.scrollbarDarkshadowColor="#B99346";
bodyStyle.scrollbarShadowColor="#B99346";
}
It can be doen using CSS but it stops the stylesheets from validating.
If you want to apply the colored scrollbars to the page rather than the body you will need to style the scrollbrs of the <html> element. eg
Code:
<style type="text/css">
html,body{scrollbar-track-color:#EBCD8C;}
</style>
Bookmarks