| Home | CSS Tutorials | JavaScript Editor | ![]() | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |


| 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.
Note that only one border-style value may be given.
One may also use the border shorthand property.
Maintained by John Pozadzides and Liam Quinn
Copyright © 1997 John Pozadzides and Liam Quinn. All rights reserved.
| Home | CSS Tutorials | JavaScript Editor | ![]() | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |