Extensible HyperText Markup Language

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

XStandard XHTML WYSIWYG editor
A standards-compliant WYSIWYG editor component for content management applications. The editor generates valid XHTML and uses CSS for formatting. Free version is available.

Check out XStandard