changing scrollbar colors

windows

Guest
does anyone know how to change the scrollbar colors with out using this code:


BODY {
scrollbar-face-color: #666699;
scrollbar-shadow-color: #333333;
scrollbar-highlight-color: #333333;
scrollbar-3dlight-color: #FFFFCC;
scrollbar-darkshadow-color: #FFFFCC;
scrollbar-track-color: #888888;
scrollbar-arrow-color: #CCFFFF;
}

the reason i dont want to use this code is because if i do, my style sheet does not validate on w3c. any help would be much appreciated... thanks.

~Hal

EDIT: P.S. does anyone know how to fix this error:

"Line : 0 font-family: You are encouraged to offer a generic family as a last alternative"

my style sheet is at <!-- m --><a class="postlink" href="http://www.alabu.com/css/styles.css">http://www.alabu.com/css/styles.css</a><!-- m --> if you want to check it out.Well, the general consensus is that you should leave the scrollbars alone, as they are part of the browser UI, and not your website.

I'm in complete agreement there, but I believe Fredmv came up with a way to do it with JS at another forum, so you might wanna ask him.


***EDIT***
You might find this link (<!-- m --><a class="postlink" href="http://www.w3.org/TR/REC-CSS2/fonts.html">http://www.w3.org/TR/REC-CSS2/fonts.html</a><!-- m -->) an interesting read.<!-- m --><a class="postlink" href="http://www.w3.org/TR/2004/CR-CSS21-20040225/fonts.html#font-family-propwellllll...">http://www.w3.org/TR/2004/CR-CSS21-2004 ... ellllll...</a><!-- m -->. if thats the "general consensus" i suppose i dont really need to, i hate to be the guy whose website everybody hates, i try to avoid annoying things like endless animations, marquees, and no-right click scripts etc... i guess this falls in with the rest of em ;)

i added what i thought was a generic font family as an alternative to my css file but it still gives me the error... <!-- m --><a class="postlink" href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.alabu.com%2Findex.html">http://jigsaw.w3.org/css-validator/vali ... index.html</a><!-- m --> what am i doing wrong?looking at the style sheet you provided, you still have several font families with arial as the last in the list, make sure they all end with sans-serif or another generic font family:-/ i think i changed all the tags to ahve generic fonts but im still getting it, any more ideas?nvm, i'm dumb i didnt read those links you sent me closely enough... had to remove the quotes. thanks a bunch guys!!!there isn't a way without that code
 
Back
Top