borderLeft property

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

Sets or retrieves the properties of the left border of the object.

CSS 2.1, Section 5.5.21

Syntax

Integer value = object.put_borderLeft(BSTR v);Integer value = object.get_borderLeft(BSTR* sLeft);

Property values

Type: BSTR

one or more of the space-delimited values listed in Possible Values.

width (medium)

Any of the range of width values available to the border-left-width property.

style (none)

Any of the range of style values available to the border-left-style property.

color

Any of the range of color values available to the border-left-color property.

String format

[ width || style || <color> ]

CSS information

Applies ToAll elements
Mediavisual
Inheritedno
Initial Value

Standards information

Remarks

The border-left property is a composite property that sets the width, style, and color values for the left border of an object.

All individual border properties not set by the composite border-left property are set to their default values. For example, the default value for width is medium.

If the color value is not specified, the text color is used.

For more information about supported colors, see the BUGBUG! missing link text: ie.Color_Table.

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.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

DLL

Mshtml.dll

See also

Reference
border
Other Resources
CSS Enhancements in Internet Explorer 6

 

 

Build date: 1/23/2012

Community Additions

Show: