border-bottom-style
CSS Attributes Reference

border-bottom-style

Description

Sets the style of an element's bottom border. Supported on block and replaced elements only. 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. 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-bottom-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, TEXTAREA, IFRAME, SPAN, IMG, EMBED, OBJECT, INPUT

Scripting Property

borderBottomStyle

See Also

border-top-style, border-left-style, border-right-style, border-style


border-bottom-width

Description

Sets the width of an element's bottom border. Supported on block and replaced elements only.

Syntax

{ border-bottom-width: thin | medium | thick | length}

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

borderBottomWidth

See Also

border-top-width, border-left-width, border-right-width, border-width


border-color

Description

Sets the color of the four borders.

"{1,4}" indicates that 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. Supported on block and replaced elements only. See Color Table for a list of supported color values.

Syntax

{ border-color:border-color{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

borderColor

See Also

border-top-color, border-left-color, border-right-color, border-bottom-color


border-left

Description

Sets the left border. Values that are not present are set to their initial values. Supported on block and replaced elements only.

Syntax

{ border-left: border-left-width || border-left-style || border-left-color}

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

borderLeft

See Also

border-left-width, border-left-color, border-left-style, border-right, border-top, border-bottom


border-left-color

Description

Sets the color of an element's left border. Supported on block and replaced elements only. See Color Table for a list of supported color values.

Syntax

{ border-left-color: border-color}

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

borderLeftColor

See Also

border-right-color, border-top-color, border-bottom-color, border-color


border-left-style

Description

Sets the style of an element's left border. 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-left-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, TEXTAREA, IFRAME, SPAN, IMG, EMBED, OBJECT, INPUT

Scripting Property

borderLeftStyle

See Also

border-right-style, border-top-style, border-bottom-style, border-style


border-left-width

Description

Sets the width of an element's left border. Supported on block and replaced elements only.

Syntax

{ border-left-width: thin | medium | thick | length}

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

borderLeftWidth

See Also

border-right-width, border-top-width, border-bottom-width, border-width


border-right

Description

Sets the right border. Values that are not present are set to their initial values. Supported on block and replaced elements only.

Syntax

{ border-right: border-right-width || border-right-style || border-right-color}

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

borderRight

See Also

border-left, border-top, border-bottom, border


border-right-color

Description

Sets the color of an element's right border. Supported on block and replaced elements only. See Color Table for a list of supported color values.

Syntax

{ border-right-color: border-color}

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

borderRightColor

See Also

border-top-color, border-bottom-color, border-left-color, border-color


border-right-style

Description

Sets the style of an element's right border. 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-right-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, TEXTAREA, IFRAME, SPAN, IMG, EMBED, OBJECT, INPUT

Scripting Property

borderRightStyle

See Also

border-left-style, border-top-style, border-bottom-style, border-style


border-right-width

Description

Sets the width of an element's right border. Supported on block and replaced elements only.

Syntax

{ border-right-width: thin | medium | thick | length}

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

borderRightWidth

See Also

border-top-width, border-bottom-width, border-left-width, border-width


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

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.