Would you make this a table?
I feel like this looks like a table so it should be a table; but it would be much harder for me to style this I believe as a table.
7 Replies
What kind of styling do you want to do that would be hard with a table?
I haven't used tables pretty much ever, but I know there's a lot of "semantic overhead" with a table like table headers which I don't need.
I guess that wouldn't be too hard, as I could just hide the table headers... but then I'm getting to the point where if I'm doing things like that, should I even use a table?
Just because something looks like a table does it mean I have to use a table?
that's just a table, without a header and footer and caption
you can use a table and bash it to look how you want with grid
Yea I guess it really is, just don't want to do the extra work to make my html more semantic tbh π
Alright thanks guys
So just include the table headers in a sr-only class right?
yeah, sounds like a reasonable idea
I find myself using
display: contents
often when dealing with the extra layers a table creates.Never even heard of that, I'll have to look into it. Thanks!