3 ms·
Tables 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. T
by open-source-ux 10y ago
Tables 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 10y 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 10y agoYay. We replaced one mess (table-based layouts) with another (CSS.) Have you ever view-sourced the pages on this site? Many nested tables...