Difference between revisions of "CSS GUIDE BORDER STYLE"
(→Legal Values) |
(→Syntax) |
||
Line 4: | Line 4: | ||
== Syntax == | == Syntax == | ||
− | + | border-style: value | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Legal Values == | == Legal Values == |
Revision as of 13:08, 22 November 2006
This document is a work in progress and is subject to change.
Contents
Summary
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.
Syntax
border-style: value
Legal Values
Value | Description |
---|---|
none | Defines no border |
hidden | The same as "none", except in border conflict resolution for table elements |
dotted | Defines a dotted border |
dashed | Defines a dashed border |
solid | Defines a solid border |
double | Defines two borders. The width of the two borders are the same as the border-width value |
groove | Defines a 3D grooved border. The effect depends on the border-color value |
ridge | Defines a 3D ridged border. The effect depends on the border-color value |
inset | Defines a 3D inset border. The effect depends on the border-color value |
outset | Defines a 3D outset border. The effect depends on the border-color value |