Skip to content

Comment on When will CSS Grid Lanes arrive?

Comments

Here's the famous 2004 article on why tables are bad.[1] Cool people do everything with break and div. The CSS crowd then spent two decades re-inventing tables.

[1] https://www.hotdesign.com/seybold/everything.html

Tables are not responsive. They don't adjust to changing screen sizes. That was okay, maybe, when everyone was only on desktop/laptops but changed once mobile and tablets appeared.

I definitely want to see that state+population table in mobile as a single element that I can just scroll to not 3 elements fighting for horizontal space thank you very much.

What? Tables are responsive, they auto adjust widths or columns, you can control which are fixed width and which are fluid.

Yes. You can specify width as fixed, percentage, or leave it blank.

Here's an old all-tables site of mine.[1] Try resizing the window. Works fine. It won't narrow down to mobile dimensions well, though.

[1] https://downside.com/news.html

The person I was responding do linked to an article about tables for layout, not tables for data

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.