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

209
Vistas
Is it possible to remove "</tr><tr>" from a table? So that all the content is on one row

I have a very specific problem. I'm using a fairly limited platform for a client that has a generated element of a table with up to 10 columns and unlimited rows. What I want to do is have maybe up to 25 columns and then put these columns all on a single row. Currently if I have 25 columns, it goes into 3 rows. The only limitation is that the platform only lets me use up to 10 columns wide, and doesn't let me manually change the amount of rows. And I can't edit the HTML because it's generated every page load.

Is there any way I can search within the ID of the table, find the /tr tr and delete it, or replace it with nothing?

Something like: getElementById("table.multi-cols") then find the /tr tr and replace with ""?

Apologies for my very limited understanding of javascript

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

If I got your question right,

tr {
  display: inline-flex; /* or   display: inline-block; */
}
<table>
  <tr><td>Row 1 cell 1</td> <td>Row 1 cell 2</td></tr>
  <tr><td>Row 2 cell 1</td> <td>Row 2 cell 2</td></tr>
  <tr><td>Row 3 cell 1</td> <td>Row 3 cell 2</td></tr>
</table>

than if you want it to nowrap, set table { white-space: nowrap; }

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