I have a really annoying problem. I am creating a table and in it I am putting a 5% padding. And when I go in the browser to check if this is right, the attribute is in the element, but it is not applied. Bad when I open the inspect, and unmark and mark this padding, it works. What's wrong?
css
.item_header_no {
font-size: 1.2em;
padding: 5%;
background-color: black;
color: white;
}
html
<tr>
<td class="item_header_no">Disciplina</td>
<td class="item_header_no">AC</td>
<td class="item_header_no">AI</td>
<td class="item_header_no">AS</td>
<td class="item_header_no">MF</td>
</tr>