Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

366
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda