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

149
Vistas
Equal Table Columns Based On Content. Different Logic for First Column

kinda stuck on a styling problem for a table I am working on.

Here are the requirements:

First Column: Width is determined by the longest text in the column. Having a max width of 200px.

Columns 2-n: Width is determined by the column (2-n) with longest text. Having a max width of 150px

Table scrolls horizontally if it exceeds 100%

Example:

Header 1 Header 2 Header 3
short content short content Really Really long content
Really Really long content short content short content

So column 1 would have a width based on row 2 since is the longest.

Column 2 & 3 would have a width based on column 3 row 1.

about 4 years ago · Juan Pablo Isaza
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