-ms-scrollbar-arrow-color property (Internet Explorer)

Switch View :
ScriptFree
-ms-scrollbar-arrow-color property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the color of the arrow elements of a scroll arrow.

Syntax

-ms-scrollbar-arrow-color: variant

Property values

variant

A VARIANT that specifies or receives any color name or RGB values in the Color Table.

CSS information

Applies ToAll elements
Mediavisual
Inherited1
Initial Value

Standards information

There are no standards that apply here.

Remarks

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

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.

Examples

The following example shows how to create a style rule that sets the -ms-scrollbar-arrow-color property for a textArea element.

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


<HTML>
  <HEAD>
    <STYLE>
        TEXTAREA.BlueArrow  { scrollbar-arrow-color:blue }
    </STYLE>
  </HEAD>  
  <BODY>
    <TEXTAREA CLASS="BlueArrow">The arrows in the scroll bar for 
    this element will be blue.</TEXTAREA>
  </BODY>
</HTML>

See also

CSSStyleDeclaration
currentStyle
defaults
runtimeStyle
style
Reference
-ms-scrollbar-3dlight-color
-ms-scrollbar-base-color
-ms-scrollbar-darkshadow-color
-ms-scrollbar-face-color
-ms-scrollbar-highlight-color
-ms-scrollbar-shadow-color
-ms-scrollbar-track-color

 

 

Build date: 3/14/2012

Community Content

Sheng Jiang 蒋晟
BODY using IE8 Standards mode
>Scroll styles don't work for BODY using IE8 Standards mode. Who knows the solution $0Try the IE web development forum on MSDN.$0