You can create a border around an element and then set its thickness, style, and color. If you've specified any padding (see page 281) the border encloses both the padding and the contents of the element.
To set the border:
1. |
Type border. |
2. |
If desired, type -top, -bottom, -left, or -right, (with no space after border) to limit where the border should go. |
3. |
If desired, type thin, medium, thick, or an absolute value (like 4px) to determine the thickness of the border. Medium is the default. |
4. |
If desired, type none, dotted, dashed, solid, double, groove, ridge, inset, or outset to determine the border style. |
5. |
If desired, type color, where color is either one of the 16 color names or is expressed as described on page 265. |