Syntax | selector {border-top-style: style;}
|
---|---|
Usage | The border-top-style property is used to specify the style of the top border. See the Box Model for a description of the boxes that are generated for elements and the relative position of the borders. This property is specified by using a keyword according to the syntax shown above. |
Keywords |
Note: The border samples, shown above, may not appear identically in all browsers. |
Applies To | All elements |
Inherited | No |
Initial Value | none |
The border-top-style property is set to use a dashed line. |