Extensible HyperText Markup Language

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

border-top-color

Definition

The border-top-color property specifies the color of the element's top border. The top border is represented by the yellow highlighted area in the illustration below.

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

Example

  1. div {border-top-color: #ff0000}

Characteristics

Possible values

color
Color name or value.
transparent
This keyword is used to indicate that no background color should be used for the given element, in order to allow the underlying colors to shine through.
inherit
Use the same computed value as the parent element for this property.

Default value

Depends on Web browser

Applies to

All elements

Inherited

No

See also