Extensible HyperText Markup Language

XHTML.com recommends: PSD to HTML Slicing Service and PSD to HTML by W3 Markup. see your link here

border-right

Definition

The border-right property is a shorthand method for setting border-right-width, border-right-style and border-right-color property values. 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: thick solid red}

This is equivalent to:

  1. h1 {
  2. border-right-width: thick;
  3. border-right-style: solid;
  4. border-right-color: red;
  5. }

Characteristics

Possible values

Default value

See individual properties

Applies to

All elements

Inherited

No

See also