#header { background-color: pink; color: green; text-decoration: blink; text-align: right; } #content { } #footer { border-top: 1px black solid; margin-top: 20px; } table { margin: 5px auto; border-collapse: collapse; } table, thead, tbody, tfoot, td, th { border-style: inset; border-color: black; } td, th { margin: 0 5px; padding: 1px 3px; border-width: 0 2px 0 0; } td:last-child, th:last-child { border-width: 0; } table, tbody { border-width: 0; } thead { border-width: 0 0 2px 0; } tfoot { border-width: 2px 0 0 0; } thead, tfoot { font-weight: bold; }