XML technologies / CSS / Advanced websites with CSS / CSS property reference / scrollbar-base-color
(Excerpt from “CSS − Advanced websites with Cascading Stylesheets” by Rachel Andrew & Dan Shafer)
The property scrollbar-base-color is not included in the CSS specification and describes the scrollbar colour in an element. The browser uses the declared colour as a starting point for determining the colours of all scrollbar components.
The colours of individual scrollbar components can also be set separately using the property scrollbar-element-color.
Inherited: yes
See also: scrollbar-element-color
Values
Any valid CSS colour value (see CSS colour reference).
Default value: depends on the user’s browser settings
Compatibility
CSS version: not part of the CSS specification
Works only in Internet Explorer for Windows from version 5.5; not supported in Internet Explorer 6’s “Standards-Compliant Mode”.
Example
The following rule sets the scrollbars in the element textarea to blue:
textarea {
scrollbar-base-color: blue;
}
Copyright © 2006 of the German translation, dpunkt.verlag GmbH
You may print the online version for your private use.
Otherwise, this chapter from “CSS − Anspruchsvolle Websites mit Cascading Stylesheets” is subject to the same conditions as the bound edition: the work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
dpunkt.verlag GmbH, Ringstraße 19, 69115 Heidelberg