Easy Tutorial
❮ Prop Html Title Prop Week Autofocus ❯

Style borderBottomWidth Property


Definition and Usage

The borderBottomWidth property sets or returns the width of the bottom border of an element.

Syntax

Set the borderBottomWidth property:

Return the borderBottomWidth property:

Value Description
thin Defines a thin border.
medium Default. Defines a medium border.
thick Defines a thick border.
length Defines the border width using units like px, cm, etc.
inherit The bottom border width is inherited from the parent element.

Browser Support

All major browsers support the borderBottomWidth property.

Note: IE7 and earlier versions do not support the "inherit" value. IE8 only supports "inherit" if !DOCTYPE is specified. IE9 supports "inherit".


Example

Change the width of the bottom border:

❮ Prop Html Title Prop Week Autofocus ❯