News for hackers. Stuff that matters.
Re:Making Tables Responsive with Minimal CSS by bradley_taunt on Tuesday June 11, 2019 @09:18AM (#20155110)
The CodePen "Responsive Table 2.5" further builds on that example and tackles that exact problem you mention (by including the heading of what each cell represents)
Re:Making Tables Responsive with Minimal CSS by bastawhiz on Tuesday June 11, 2019 @11:23AM (#20156228)
If you're putting the heading in each cell, it kind of defeats the purpose of using a table to begin with, no? If I was so painted into a corner by mobile support and refused to make scrolling friendly (e.g., by pinning the left column), it sounds like just not using a table in the first place is a much better solution.
Re:Making Tables Responsive with Minimal CSS by debaserab2 on Tuesday June 11, 2019 @04:18PM (#20159151)
Inheriting this kind of functionality with just a little bit of CSS is pretty dang convenient though and a pretty sensible default, if nothing else.
Re:Making Tables Responsive with Minimal CSS by bhaak on Tuesday June 11, 2019 @11:29AM (#20156296)
Yes, not using tables is the best solution for mobile support.

But sometimes you can't do without. Then it's nice to know your options.