Extensible HyperText Markup Language

XHTML.com recommends: PSD to HTML Slicing Service

border-right-width

Definition

The border-right-width property specifies the width of the element's right border. The right border is represented by the yellow highlighted area in the illustration below.

Illustration of the CSS box model. The area between the right padding and the right margin is highlighted in yellow.

Example

  1. h1 {border-right-width: 1px}
  2. div.content {border-right-width: thick}

Characteristics

Possible values

The width of the border area can be specified as one of the following values:

thin
A fine border.
medium
A medium thickness border.
thick
A thick border.
length
The border's thickness has an explicit value. Explicit border widths cannot be negative.
inherit
Use the same computed value as the parent element for this property.

Default value

medium

Applies to

All elements

Inherited

No

See also