border
Definition
The border property is a shorthand method for setting the save values for border-width, border-style and border-color for all four borders. Border is the space between the element's padding and the element's margin, and is represented by the yellow highlighted area in the illustration below.

Example
p {border: 1px dashed blue}
This is equivalent to:
p {border-top: 1px dashed blue;border-bottom: 1px dashed blue;border-left: 1px dashed blue;border-right: 1px dashed blue;}
Characteristics
Possible values
Default value
See individual properties
Applies to
Inherited
No
See also