CSS3.com


CSS BORDER-TOP

This is a shorthand property which allows an author to specify the border-width, border-style, and border-color for the top border of an element. If no color is specified, the value will be taken from the 'color' property.

Example
div.out { border-top: 10px outset #ffffff }
some text

Possible Values
inherit: Explicitly sets the value of this property to that of the parent.
[border-width]: Uses a [border-width] value to render the top border for an element.
[border-style]: Uses a [border-style] value to render the top border for an element.
[border-color]: Uses a [border-color] value to render the top border for an element.


Go Back