BORDER WIDTHS
Note: Use the "border-style" property FIRST to set the borders. The style is "dotted." The "border-bottom-width" and "border-top-width" properties do not work if they are used without the style property. Border-top-width:10px; and border-bottom-width:15px; but the sides are default. You can specify any width in pixels (px) for the top and/or bottom widths. 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 |