HTML and CSS Reference
In-Depth Information
border-top-width, border-right-width, border-bottom-width, border-left-width
Used to specify the border's thickness for one side of the element.
Value:
<length> thin | medium | thick
Initial value:
medium
Inherited: no
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer
border-style
Used to specify all individual border styles in one step.
Value: Multiple instances of:
none | dotted | dashed | solid | double | groove |
ridge | inset | outset | hidden
Initial value:
none
Inherited: No
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer (see note)
■
Note
In Internet Explorer 6 and lower,
border-style
is not implemented for row groups and the
dotted
value is not supported when the
border-width
is
1px
(
dashed
is displayed instead).
border-top-style, border-right-style, border-bottom-style, border-left-style
Used to specify the style of the border for one side of the element.
Value:
none | dotted | dashed | solid | double | groove | ridge | inset | outset |
hidden
Initial value:
none
Inherited: No
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer (see note)