5
I’m trying to put a Radius border on my table so that the four tips of it are rounded. If I touch the tr/th/td border-Radius it will change the radius of the ballots and not only those of the table, which is my goal and if I change the radius of the table and this appears correctly. With the table marks that the radius decreased but the table does not follow this, follows an image to illustrate what I said:
CSS:
.table-round-corner{
margin-top: 15px;
width: 100%;
text-align: center;
berder-radius: 25px;
border: solid #ddd 1px;
overflow:hidden;
}
table td{
color: #aaa;
background-color: white;
padding: 5px;
border: 1px solid #ddd;
}
table th{
color: white;
background-color: red;
font-weight: normal;
text-align: center;
padding: 5px;
font-size: 12px;
}
HTML:
<table class"table-round-corner">
<tr>
<th>ASDASD</th>
<th>ASDASDAS</th>
<th>ASDASD</th>
</tr>
<tr>
<td>ASDASD</td>
<td>34</td>
<td>R$ 00,00</td>
</tr>
<tr>
<td>ASDASDASD</td>
<td>00</td>
<td>R$ 00,00</td>
</tr>
</table>
Summary:
I need my table to have rounded ends.
It doesn’t work because you’re not applying the rule in the table.
– Renan Gomes
Ah no, "
berder-radius: 25px;
".– Renan Gomes