Borders
In some of the examples in previous chapters, I added a border around elements to help visualize the space allocated to them. I used a CSS rule like this:
border: 1px solid black;
This uses shorthand notation that sets the three primary aspects of a border: width, style, and color. This is equivalent to setting each of the attributes separately:
border-width: 1px;
border-style: solid;
border-color: black;
Basic Styles
There are eight border styles , which are demonstrated in Figure 12-1. All the major browsers support these, although the implementation varies ...