border-top-style

The border-top-style property sets the style of an element's top border.

CSS2

Syntax

border-top-style: none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset | inherit
Initial: none
Applies To: all elements
Inherited: no
Percentages: NA
Media: visual

DOM

[window.]document.getElementById("element-id").style.borderTopStyle = "border-top-style";

Example | dashed

Example | dotted

Example | double

Example | groove

Example | hidden

Example | inset

Example | none

Example | outset

Example | ridge

Example | solid

Example | DOM

External

W3C Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification