3 ms·
Or just use tables like we did in the '90s...
by icedchai 11y ago
Or just use tables like we did in the '90s...
- open-source-ux 11y agoTables are meant for displaying tabular data, they are not meant to be an invisible frame or grid for page layouts but this is what they were often used for. Tables fell out of favour because many people used nested table structures which were messy and inaccessible to people with screen readers. (Note that non-nested tables are not inaccesible to screen readers.) I actually think a table-inspired layout approach for CSS would have been simpler to understand and to implement than the clumsy, messy CSS methods we currently have. Even Flexbox has an over-engineered (or over-complex) feel for some of its rules. Oh well, the benefit of hindsight...
- anexprogrammer 11y agoThe hilarious part is the memo "don't use tables" was so completely absorbed it became rare to see a table even being used for tabular data. A whole slew of CSS to achieve a table-like effect was fairly common to see.
- icedchai 11y agoYay. We replaced one mess (table-based layouts) with another (CSS.) Have you ever view-sourced the pages on this site? Many nested tables...
- gscott 11y agoI use tables then add css styling to them.