borderTopColor property

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

Sets or retrieves the color of the top border of the object.

CSS 2.1, Section 8.5.2

Syntax

Integer value = object.put_borderTopColor(Variant v);Integer value = object.get_borderTopColor(Variant* sColor);

Property values

Type: VARIANT

One of the color names or RGB values in the BUGBUG! missing link text: ie.Color_Table.

String format

[ <color> | transparent ] {1,4} | inherit

CSS information

Applies ToAll elements
Mediavisual
Inheritedno
Initial Value

Standards information

Remarks

As of Microsoft Internet Explorer 5.5, this property applies to inline elements. With earlier versions of Windows Internet Explorer, inline elements must have an absolute position or layout to use this property. Element layout is set by providing a value for the height property or the width property.

Some browsers do not recognize color names, but all browsers should recognize RGB color values and display them correctly.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

DLL

Mshtml.dll

See also

border

 

 

Build date: 1/23/2012

Community Additions

Show: