Extensible HyperText Markup Language

border-bottom

Definition

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

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

Example

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

This is equivalent to:

  1. h1 {
  2. border-bottom-width: thick;
  3. border-bottom-style: solid;
  4. border-bottom-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