2 ms·
> It's actually incredible how many modern designs I see today that are portraying a table, but have recreated the <table> element (and its associated <tr> and
by deergomoo 5y ago
> It's actually incredible how many modern designs I see today that are portraying a table, but have recreated the <table> element (and its associated <tr> and <td> elements) in a soup of flex layout divs and such
To play devil’s advocate, <table> can be frustratingly inadequate even for tabular data, if you want to add some bells and whistles.
Things like resizable/reorderable columns aren’t too tricky, but if you want things like sticky rows or columns things get very messy very quickly.
I’m convinced that the negative qualities of modern web development stem from the built-in controls being largely stuck in 1995.
- egeozcan 5y agoJust a heads up (pun maybe subconsciously intended): "position: sticky" works surprisingly well on table-headers. Demo: https://jsfiddle.net/Lkye3cpq/ https://jsfiddle.net/Lkye3cpq/
- paulryanrogers 5y agoAs a counterpoint Firefox can select and copy columns or rows from traditional tables.