Extensible HyperText Markup Language

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

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