|
Box Properties |
![]() |
||
Box Properties
Top Margin
Right Margin
Bottom Margin
Left Margin
Margin
Top Padding
Right Padding
Bottom Padding
Left Padding
Padding
Top Border Width
Right Border Width
Bottom Border Width
Left Border Width
Border Width
Border Color
Border Style
Top Border
Right Border
Bottom Border
Left Border
Border
Width
Height
Float
Clear
Appearance:
border-style: <value>
Possible Values:
[ none | dotted | dashed | solid | double | groove | ridge | inset | outset ]{1,4}
Initial Value:
none
Applies to:
All elements
Inherited:
No
The border-style property sets the style of an element's border. This property must be specified for the border to be visible.
Between one and four keywords are specified. If four values are given, they apply to top, right, bottom, and left border style, respectively. If one value is given, it applies to all sides. If two or three values are given, the missing values are taken from the opposite side.
One may also use the border shorthand property.