Difference between revisions of "CSS GUIDE BORDER STYLE"
(→CSS Properties) |
|||
Line 21: | Line 21: | ||
<tr> | <tr> | ||
<th>#</th> | <th>#</th> | ||
− | <th> | + | <th>Value</th> |
− | <th> | + | <th>Description</th> |
</tr> | </tr> | ||
Line 33: | Line 33: | ||
<tr> | <tr> | ||
<td>2</td> | <td>2</td> | ||
− | <td> | + | <td>none</td> |
− | <td> | + | <td>Defines no border</td> |
</tr> | </tr> | ||
Revision as of 12:48, 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
table {border-style: dotted} all four borders will be dotted
table {border-style: dotted dashed} top and bottom border will be dotted, left an right border will be dashed
table {border-style: dotted dashed solid} top border will be dotted, left and right border will be dashed, bottom border will be solid
table {border-style: dotted dashed solid double} top border will be dotted, right border will be dashed, bottom border will be solid, left border will be double