Stefano Palazzo wrote:
> Is there a way to customize the scrollbar(s) of a single DIV with css?
> It should be Valid CSS and Valid XHTML Strict as well
In your <head>:
<meta http-equiv="Content-Style-Type"
content="text/x-extendedstyles">
In your <body>:
<div style="scrollbar-face-color:#C0C0C0;
scrollbar-track-color: #C0C0C0;
scrollbar-arrow-color: #000000;
scrollbar-shadow-color: #000000;
scrollbar-highlight-color: #C0C0C0;
scrollbar-darkshadow-color: #C0C0C0;">foo bar</div>
This is valid XHTML, and (technically) it doesn't use CSS.
Of course, changing scroll bar colours is a stupid idea to begin with -- you'll
only end up confusing your users.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~
http://tobyinkster.co.uk/contact