HTML CSS Reference/CSS Attributes and Javascript Style Properties/ScrollBarColorProperties
Содержание
"Scroll Bar Color Properties" Example
<source lang="html4strict">
<textarea cols="30"
rows="5" wrap="off" style="scrollbar-arrow-color:white; scrollbar-base-color:green; scrollbar-darkshadow-color:black; scrollbar-highlightcolor:yellow; scrollbar-shadow-color:blue"> a long text a long text
a long text a long text a long text a long text
</textarea>
</source>
"Scroll Bar Color Properties" is applied to
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | Applied_To |<applet> | | |<body> currentStyle | | |<custom> defaults |
| || |<object> runtimeStyle | | |style <textarea> | +----------------+--------------------------------------------------------------+
</source>
"Scroll Bar Color Properties" Possible Values
<source lang="html4strict">
Possible Values scrollbar-3dlight-color color for the top and left sides of the
scroll box and arrows.
scrollbar-arrow-color color for the arrows. scrollbar-base-color color for the scroll box, track, and arrows. scrollbar-darkshadow-color color for the dark shadow part of the scroll
box and arrows.
scrollbar-face-color color for the scroll box and arrows. scrollbar-highlight-color color for the top and left sides of the scroll
box and arrows.
scrollbar-shadow-color color for the bottom and right sides of the
scroll box and arrows.
scrollbar-track-color color for the track of the scroll bar.
</source>
"Scroll Bar Color Properties" Syntax and Note
<source lang="html4strict">
Note: Set a scroll bar color. Syntax:
element { scrollbar-element-color: value } elementID.style.scrollbarElementColor = "value" document.all.elementID.style.scrollbarElementColor = "value"