This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

-ms-scrollbar-highlight-color

Property of css/properties/-ms-scrollbar-highlight-colorcss/properties/-ms-scrollbar-highlight-color

Syntax

var result = -ms-scrollbar-highlight-color.-ms-scrollbar-highlight-color;
-ms-scrollbar-highlight-color.-ms-scrollbar-highlight-color = scrollbar-highlight-color:blue;

Examples

The following example shows how to create a style rule that sets the -ms-scrollbar-highlight-color property.

<html>
  <head>
    <style>
        textarea  { scrollbar-highlight-color:blue }
    </style>
  </head>
  <body>
    <textarea>The scroll bar face for this element will turn blue when a scroll bar button is pressed.
  </textarea>
  </body>
</html>

View live example

Usage

 -ms-scrollbar-highlight-color: purple

Notes

Remarks

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

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. Cascading Style Sheets (CSS) enable scrolling on all objects through the overflow property. These objects are not listed in the Applies To list for this property.

Standards information

There are no standards that apply here.

See also

Related articles

Scrollbar

Related pages

Attributions