Extensible HyperText Markup Language

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

border-left

Definition

The border-left property is a shorthand method for setting border-left-width, border-left-style and border-left-color property values. The left border is represented by the yellow highlighted area in the illustration below.

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

Example

  1. h1 {border-left: thick solid red}

This is equivalent to:

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

Characteristics

Possible values

Default value

See individual properties

Applies to

Inherited

No

See also