Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

368
Visualizações
I need help finding out how to put a space between rows of a table in HTML

I have a table with many rows, and I just need to find a way to put a line of space in between each row.

  Example: a b c
 
           d e f

I'm still very new to HTML/CSS/JS, so I was hoping I could get a pretty simple explanation, as I've seen the question asked here but I was still unsure of how to replicate it. Here are my tables in HTML, and the code I used in JS. Here's my table with some JS code. Here's my table in HTML. If anyone could help me out with this, I'd really appreciate it!

I've tried to make a class for <tr> and using border-collapse, but to no avail, as I may have done something wrong. I've also tried messing around in the JS code, but I'm not sure if I should add the spaces in between from there or through the HTML.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Looks like you just need a bigger space between to lines, for that you can use css.

.tableRow {
    padding-bottom: 20px;
}

Another solution would be adding an empty tr, between the one that have content.

<tr style="height: 20px">
    <td></td> <td></td>
</tr>
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda