Contents Index Topic Contents | ||
Previous Topic: borderBottomWidth Next Topic: borderColor |
borderColor
Description
Sets or retrieves the element's border color.
Syntax
object.style.borderColor[ = color]
Remarks
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. For a list of supported color values, see Color Table.
The property has read/write permission. It is supported on block and replaced elements only.
Applies To
HTML Tags BLOCKQUOTE, BODY, CAPTION, CENTER, DD, DIR, DIV, DL, DT, EMBED, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HR, IMG, IFRAME, INPUT, LI, LISTING, MARQUEE, MENU, OBJECT, OL, P, PLAINTEXT, PRE, SPAN, TABLE, TD, TEXTAREA, TH, TR, UL, XMP Scripting style CSS Attribute
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.