940
you are viewing a single comment's thread
view the rest of the comments
[-] traches@sh.itjust.works 5 points 1 year ago

You're insane if you think doing layouts with tables is easier than flexbox/grid.

[-] smpl@discuss.tchncs.de 1 points 1 year ago

In the context of the modern web, I take that as a badge of honor. I've build pages using flexbox/grid and I've done so only for the sake of responsive layout, because of the way that tables can't degrade to a bunch of boxes, but a bunch of boxes can by styled to look like a table. It is a convoluted way of doing table layout instead of just using a table.

[-] traches@sh.itjust.works 5 points 1 year ago* (last edited 1 year ago)

A table has semantic meaning: it's for presenting tabulated data, not for building layouts. That's why they behave the way they do and require the format they require. Table layouts have always been a hack, it's just that for awhile there weren't better options.

Again, you are insane if you're still doing table layouts in 2023.

this post was submitted on 28 Jul 2023
940 points (96.3% liked)

Programmer Humor

19623 readers
1 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS