borderStyleborderStyle*
*



Contents  *



Index  *Topic Contents
*Previous Topic: borderRightWidth
*Next Topic: borderTop

borderStyle

Description

Sets or retrieves the style of the element's left, right, top, and bottom borders.

Syntax

object.style.borderStyle[ = borderStyle]

Remarks

Dotted and dashed are treated as solid.

The border styles are defined as follows:
none No border is drawn (regardless of any border-width).
solid Border is a solid line.
double Border is a double line drawn on top of the background of the element. The sum of the two single lines and the space between equals the border-width value. The border width must be at least 3 pixels wide to draw a double border.
groove 3-D groove is drawn in colors based on the value.
ridge 3-D ridge is drawn in colors based on the value.
inset 3-D inset is drawn in colors based on the value.
outset 3-D outset is drawn in colors based on the value.

The property has read/write permission.

Applies To

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

CSS Attribute

border-style


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