HTML and CSS Reference
In-Depth Information
Syntax
scrollbar-base-color: color
where color is a standard CSS color value like #f00 , red , and so on.
Example
<!-- space intentional for scroll bars -->
<form action="#" method="get">
<div>
<textarea rows="1" cols="20" style="scrollbar-base-color: red;">
</textarea>
</div>
</form>
Compatibility
No specification
IE 5.5+, Opera 9.5+
Notes
• This property is correctly written as -ms-scrollbar-base-color under IE 8 to
show that it is an extension.
• Setting this property to define a base color and then overriding individual scroll
pieces may be useful.
• A mention in the CSS3 UI specification says that this type of feature may be
considered later.
scrollbar-darkshadow-color
This property defines a shadow color for the right and bottom edges of a scroll bar.
Syntax
scrollbar-darkshadow-color: color
where color is a standard CSS color value like #f00 , red , and so on.
Example
<form action="#" method="get">
<div>
<textarea rows="10" cols="20" style="scrollbar-darkshadow-color: red;">
</textarea>
</div>
</form>
Compatibility
No specification
IE 5.5+, Opera 9.5+
Search WWH ::




Custom Search