html { font-family: sans-serif; text-align: center; background-color: whitesmoke; } h1 { text-decoration: underline; } table{ border-collapse: collapse; letter-spacing: 1px; font-size: 0.8rem; margin-left: auto; margin-right: auto; } #table1{ border: 2px solid rgb(255, 0, 0); } #table2{ border: 2px solid rgb(16, 245, 16); } thead{ font-size: 15px; } tbody{ font-style: normal; } tfoot{ border-top: 2px solid rgb(0, 0, 0); } td, th { border: 1px solid rgb(190,190,190); padding: 10px 20px; } th { background-color: rgb(235,235,235); } td { text-align: center; background-color: white; } caption { font-size: 15px; padding: 10px; }