News for hackers. Stuff that matters.
Re:The Anti-Hero of CSS Layout – “display:table” (2014) by achairapart on Saturday February 11, 2017 @09:49AM (#13622821)
On the other hand, there are cases where HTML Tables put great challanges to user experience.

First to come to mind: A table with many rows displayed on a tiny mobile screen. The most common solution is to let the table overflow horizontally. There are other complex solutions, most of them fall in the CSS-Hack category.

In this case, to have a CSS table that can be something else on a tiny screen (via media queries) may lead to a successful UX solution.

Re:The Anti-Hero of CSS Layout – “display:table” (2014) by olavk on Saturday February 11, 2017 @12:34PM (#13623629)
But you don't choose between HTML tables and CSS tables - they are independent concerns, HTML is semantics, CSS is presentation. HTML table elements just have display:table as the default style (in the default browser style sheet). You can override this in a style sheet as with any other style. And conversely, you can apply display:table to any element regardless of HTML semantics.

It is true older browsers had partially hardcoded presentation so you couldn't always override the default CSS of certain elements (table elments and form controls were especially notorious for hardcoded presentation). But I believe this is not an issue in modern browsers.

Re:The Anti-Hero of CSS Layout – “display:table” (2014) by gsnedders on Saturday February 11, 2017 @06:11PM (#13625427)
> But I believe this is not an issue in modern browsers.

I think the last browser that saw widespread use in any market with that issue was NN4. In some markets, Opera [some version; 7?] with the same issue will have been a problem much later than NN4. Really, this is to say: this hasn't been a concern for well over a decade at this point even with fairly generous browser support matrices.

Re:The Anti-Hero of CSS Layout – “display:table” (2014) by throwanem on Saturday February 11, 2017 @11:36AM (#13623312)
This makes sense to me.

In the MySQL monitor, you can terminate a statement with ; for tabular view, or with \G for a linear view that represents each row as a key-value list. This is super useful for reading wide rows in narrow terminals. I can very easily see the appeal of doing the same for wide tables on narrow displays.

Re:The Anti-Hero of CSS Layout – “display:table” (2014) by Gorgor on Saturday February 11, 2017 @09:52AM (#13622833)
You mean a table with many columns, don't you?
Re:The Anti-Hero of CSS Layout – “display:table” (2014) by achairapart on Saturday February 11, 2017 @10:06AM (#13622897)
Ah! Yes, indeed! Thank you.