border-colorborder-color*
*Contents  *Index  *Topic Contents
*Previous Topic: border-bottom-width
*Next Topic: border-left

border-color

Description

Sets the color of the four borders.

"{1,4}" indicates that up to four different colors can be specified. If one color is supplied, it is used for all four sides. If two colors are supplied, the first is used for the top and bottom, and the second is used for left and right. If three colors are supplied, they are used for top, right and left, and bottom, respectively. Supported on block and replaced elements only. See Color Table for a list of supported color values.

Syntax

{ border-color:border-color{1,4}}

Remarks

This attribute is not inherited.

Applies To

BLOCKQUOTE, BODY, CENTER, DD, DIR, DIV, DL, DT, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HR, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, TABLE, TD, TH, TR, UL, XMP, CAPTION, TEXTAREA, IFRAME, SPAN, IMG, EMBED, OBJECT, INPUT

Scripting Property

borderColor

See Also

border-top-color, border-left-color, border-right-color, border-bottom-color


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.