borderWidthborderWidth*
*



Contents  *



Index  *Topic Contents
*Previous Topic: borderTopWidth
*Next Topic: bottomMargin

borderWidth

Description

Sets or retrieves the width of the left, right, top, and bottom border.

Syntax

object.style.borderWidth[ = borderWidth]

Remarks

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.

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, 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-width


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