border-widthborder-width*
*Contents  *Index  *Topic Contents
*Previous Topic: border-top-width
*Next Topic: clear

border-width

Description

Sets the width of the four borders at the same place in the style sheet.

"{1,4}" indicates that up to four different widths can be specified. If one width is supplied, it is used for all four sides. If two widths are supplied, the first is used for the top and bottom, and the second is used for left and right. If three widths are supplied, they are used for top, right and left, and bottom, respectively. Supported on block and replaced elements only.

Syntax

{ border-width: [thin | medium | thick | length]{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

borderWidth

See Also

border-color, border-style, border


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