Skip to content

Instantly share code, notes, and snippets.

@nelson6e65
Last active August 29, 2015 14:15
Show Gist options
  • Save nelson6e65/31a0295487687cf17a46 to your computer and use it in GitHub Desktop.
Save nelson6e65/31a0295487687cf17a46 to your computer and use it in GitHub Desktop.
Table with 3 columns
<table>
<thead>
<tr>
<th>Column 1 heading</th>
<th>Column 2 heading</th>
<th>Column 3 heading</th>
</tr>
</thead>
<tbody>
<tr>
<td>Column 1 content</td>
<td>Column 2 content</td>
<td>Column 3 content</td>
</tr>
<tr>
<td>Column 1 content</td>
<td>Column 2 content</td>
<td>Column 3 content</td>
</tr>
<tr>
<td>Column 1 content</td>
<td>Column 2 content</td>
<td>Column 3 content</td>
</tr>
</tbody>
</table>
@nelson6e65
Copy link
Author

How can I set a fixed width to the last column dynamically to it content, but lets the other 2 using the remaining space?

¿Cómo puedo establecer un ancho fijo para la última columna, que se adapte dinámicamente al contenido, pero hacer que las otras 2 usen el espacio restante?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment