-ms-scrollbar-darkshadow-color

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The -ms-scrollbar-darkshadow-color CSS property is a Microsoft extension that specifies the color of the gutter of a scroll bar.

Initial valuefalse
Applies toall elements
Inheritedyes
Mediavisual
Computed valueas specified
Animation typediscrete
Canonical orderthe unique non-ambiguous order defined by the formal grammar

Syntax

The -ms-scrollbar-darkshadow-color property is specified as a <color>.

Values

<color>

The color of the gutter of a scroll bar./p>

Formal syntax

variant

Example

The following example shows how to create a style rule that sets the -ms-scrollbar-darkshadow-color property for a <textarea> element.

Code example: http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/refs/scrollbarColor.htm

<!DOCTYPE html>

<html>
<head>
  <title>scrollbar-darkshadow-color</title>
  <style>
    .BlueShadow {
      scrollbar-darkshadow-color: blue;
    }
  </style>
</head>
<body>
  <textarea class="BlueShadow">The gutter elements in the scroll bar for this element will be blue.</textarea>
</body>
</html>

Specification

Not part of any specification.

Remarks

Windows Internet Explorer 8. The -ms-scrollbar-darkshadow-color attribute is an extension to CSS, and can be used as a synonym for scrollbar-darkshadow-color in IE8 Standards mode.

The gutter is the space between the track and the bottom and right edges of the scroll box and scroll arrows of the scroll bar. The -ms-scrollbar-darkshadow-color appears outside the -ms-scrollbar-shadow-color. The track is the element of a scroll bar on which the scroll box can slide either up and down or left and right. The scroll box is the square box within a scroll bar that can be moved either up and down or left and right on a track to change the position of the content on the screen. The scroll arrows, located at each end of a scroll bar, are the square buttons containing the arrows that move the content on the screen in small increments, either up and down or left and right.

This property applies to elements that display a scroll bar. CSS enables scrolling on all objects through the overflow property. These objects are not listed in the Applies To list for this property.

Document Tags and Contributors

 Contributors to this page: jameshkramer
 Last updated by: jameshkramer,