border-styleborder-style*
*



Contents  *



Index  *Topic Contents
*Previous Topic: border-right-width
*Next Topic: border-top

border-style

Description

Sets the style of the borders. Dotted and dashed are treated as solid. Supported on block and replaced elements only.

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. 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.

Syntax

{ border-style: none | dotted | dashed | solid | double | groove | ridge | inset | outset}

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, IFRAME, SPAN, IMG, EMBED, OBJECT, INPUT, TEXTAREA

Scripting Property

borderStyle

See Also

border-width, border-color, border


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