.tbl { border-collapse: collapse; width: 100%; } .tbl td, .tbl th { border: 1px solid #ddd; padding: 8px; } .tbl tr:nth-child(even){background-color: rgba(0, 0, 0, 0.1);} .tbl tr:hover {background-color: #ddd;} .tbl th { padding-top: 12px; padding-bottom: 12px; text-align: left; background-color: #00788a; color: white; } .tbl > tbody > tr > td > a { width: 100%; display: flex; } .tbl > tbody > tr > td > a > img { width: 1em; margin: auto; }