border-collapse and border-spacing does not work.
How to fix it?
body { font-family: Arial, Verdana, sans-serif; color: #111111; } table { width: 600px; } th, td { border-collapse: collapse; padding: 7 px 10px 10px 10px; } th { border-top: 1px solid #999999; border-bottom: 2px solid black; text-transform: uppercase; letter-spacing: 0.1em; font-size: 90%; text-align: left; } td { border: 2px solid black; border-collapse: collapse; } tr.grey { background-color: rgba(56, 56, 56, 0.1); } tr:hover { background-color: khaki; } .money { text-align: right; } <table> <tr> <th>Автор</th> <th>Название</th> <th class="money">Зарегистрированная цена</th> <th class="money">Текущая ставка</th> </tr> <tr class="grey"> <td>Matt Stone, Trey Parker</td> <td>South Park</td> <td></td> <td class="money">500 000$</td> </tr> <tr> <td>Sony</td> <td>PS4</td> <td class="money">100 000$</td> <td class="money">1000000$</td> </tr> <tr class="grey"> <td>Microsoft</td> <td>Xbox One</td> <td class="money">100 000$</td> <td class="money">521 600$</td> </tr> </table>
border-collapse: collapse;- for the table, not for the cells - Deonisborder-spacingwill not work ifborder-collapsetocollapse, but this should be clear. - Deonis