Make your own free website on
Lessons Community Resources Tools

Top Border

Syntax: border-top: <value>
Possible Values: <border-top-width> || <border-style> || <color>
Initial Value: Not defined
Applies to: All elements
Inherited: No

The border-top property is a shorthand for setting the width, style, and color of an element's top border.

Authors may also use the border shorthand property.

NOTE Only one border-style value may be given.