CSS : fixed cell-width with text-overlflow management
"""
Normally, the table takes up the space it needs. If you give the `table` a 100% width, it will take 100% of the with and share that between the cells regarding their contents.
There is no such thing as free space in a table: at some point, there must be a cell that takes up the remaining space once the size of the others have been set.
To set a width of a cell, you would need to give it a `width` and a `max-width` to the same size.
For a table with N columns, you can do that to N-1 columns, and the remaining column will take the remaining space.
If you do that to N-2 columns, the two columns that do not have fixed with will share the remaining space.
Having this all, you can add `white-space:no-wrap` and/or `text-overflow:ellipsis` if you wish.
"""
January 8, 2019 at 4:15:34 PM GMT+1
- permalink
-
-
https://codepen.io/lehollandaisvolant/pen/REVNLy?editors=1100