|
Answer» If possible, I'd like to know how to change the colors of the scrollbars on a page (as well as the browser scrollbar) through CSS. My (X)HTML class is just now getting into CSS, and although I know the basics, there's still much more to be LEARNED. And unfortunately, our textbook doesn't appear to make any mention of scrollbars. I've completed my assignment of coding the basic visual structures and now I'd like to add one or two little things just for fun. Is there a way I can do this and have it validate?
I know we're not supposed to help with homework, but because this code isn't actually PART of my assignment and I won't be graded on it, I figured it'd be alright to ask about it.I presume you're referring to >this KIND of thing<. It's IE-specific, and not generally supported in other browsers, so personally I'd avoid the technique. Plus, should a web page REALLY be re-designing the browser used to view it? I'll leave you to PONDER that philosophical question.
For a cross-browser compatible strategy, you'd need to think about using Flash, or combining javascript with your own styled glyphs to create a kind of pseudo-scrollbar.Head on over to http://www.w3schools.com to see what is supported by which browser.He's back!
Still running the kill, Raptor?Yes! I was just reminded of that. I see the kill got ran on GX2_Man. (Godtheonly..)Thanks for the link, Rob. That explains how to do what I want, but unfortunately, the codes aren't W3C-valid. But at least now I know how to do this through CSS. As for your other suggestions...well, I'm afraid that's just a bit beyond my current scope of knowledge. Heh.
|