Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

borderTop property

Specifies the properties of the top border of the object.

CSS Backgrounds and Borders Module Level 3, Section 4.4

Syntax

Integer value = object.put_borderTop(BSTR v);Integer value = object.get_borderTop(BSTR* sTop);

Property values

Type: BSTR

one or more of the space-delimited values listed in Possible Values.
ValueMeaning
border-top-width

Any of the range of width values available to the IHTMLStyle::borderTopWidth property.

border-top-style

Any of the range of style values available to the IHTMLStyle::borderTopStyle property.

border-top-color

Any of the range of color values available to the IHTMLStyle::borderTopColor property.

 

String format

<border-top-width> || <border-top-style> || <border-top-color>

CSS information

Applies ToAll elements
Mediavisual
Inheritedno
Initial Value(see individual properties)

Standards information

Remarks

The IHTMLStyle::borderTop property is a shorthand property that sets the width, color, and style values for the top border of an object.

All individual border properties not set by the shorthand IHTMLStyle::borderTop property are set to their initial values. For example, the initial value for width is "medium".

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

For more information about supported colors, see the Color Table.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

Reference
IHTMLStyle::border
Other Resources
CSS Enhancements in Internet Explorer 6

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.