Extensible HyperText Markup Language

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

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