# Property Description

The border-top property sets all the top border properties in one declaration and is composed of the `border-top-width`, `border-top-style`, and `border-top-color` properties.

Note: Any values not specified are set to their default properties.

# Property Values

Value | Description
--- | ---
border-top-width | Specifies the width of the top border. See `border-top-width` for possible values
border-top-style | Specifies the style of the top border. See `border-top-style` for possible values
border-top-color | Specifies the color of the top border. See `border-top-color` for possible values
inherit1 | Specifies that the value of the property should be inherited from the parent element

# Examples

    p {
      border-style:solid;
      border-top:
        thick double #ff0000;
    }

# Browser Support

Firefox | IE | Chrome | Opera | Safari

1 - 'inherit' not supported by IE

# Miscellaneous Information

Inherited: | No
Defined In: | CSS1