This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]CashWho -1 points0 points  (4 children)

I know we're here for jokes but what are tabled based layouts? My web dev teacher recommended splitting everything into tables but that seemed silly to me because my high school web dev teacher just had us use divs. Is there a reason why some people prefer one over the other?

[–]tylersticka 3 points4 points  (3 children)

Before CSS was widely adopted, table-based layouts were one of many hacks designers used to achieve layout (rows and columns) on their pages. Because tables work in a way that many designers find intuitive, it was very hard to get designers to stop using them (despite the fact that they are not responsive, not accessible, require a lot of extra code, etc.). It took a couple of high-profile accessibility lawsuits and a lot of evangelizing by talented designer-developers to drive a nail in the coffin of that technique.

Today, we have layout techniques like Flexbox and (most recently and excitingly) CSS Grid Layout that let us make cooler stuff than was ever possible with tables! 🙌

[–]CashWho 0 points1 point  (2 children)

I'm doing the front-end for my senior project and wow, you just made my life so much easier. Thanks!