How to distribute the column spacing of a responsive table equally?

-4

How can I distribute column spacing equally from a table using CSS?

Ex:

<table>
  <tr>
    <td>Nome</td>
    <td>Email</td>
    <td>Telefone</td>
  <tr>
</table>
    
asked by anonymous 21.08.2018 / 19:17

1 answer

-1

You can use the table-layout: fixed property

table {
  width: 100%;
  table-layout: fixed;
}

table td {
  border: 1px solid #000;
}
<table>
  <tr>
    <td>Nome</td>
    <td>Email</td>
    <td>Telefone</td>
    <tr>
</table>
    
21.08.2018 / 19:37