BORDER STYLES 3 1. This has 4 different borders. The code order specified 2. The top is dotted, the two sides are solid. The bottom is double. 3. Top and bottom dotted. The two sides are solid. Look to the 4. All four borders are the same, dotted. |
The border-style property is used in the example above. However, it also works with border-width and border-color. The div in the head tag produces what looks like a table with rounded corners and a double border. But I had to use a table tag (with border="0") to get this centered on the screen. Please see the Border Radius tutorial link (below) for more info about this effect. Remember to include a DOCTYPE tag, such as <!DOCTYPE html>
Border Styles Introduction ~ 2 ~ 3
|