6 ms·
Ask HN: Why is HN laid out with tables?
- dreadsword 14y agoBecause tables can be a fast, simple, effective, compatible, and lightweight way to style a page if you don't need fancy CSS behaviour or ivory tower purity of separation between content & style.
- k3liutZu 14y agoOr because you don't know CSS...
- nikatwork 14y agoFeatures such as vertically centering elements of unknown height, and mixing absolute with relative positioning are difficult and clunky to implement in CSS in a backwards-compatible manner (IE7 and IE6). I'm talking about: <td width="*" valign="middle">. Tongue in cheek: http://giveupandusetables.com/ http://giveupandusetables.com/
- yuhong 14y agoFunny thing that they design with tables but use getElementById for the JS when document.images would have been enough.
- illumen 14y agoI think because pg knows tables.
- motherwell 14y agoHave you looked at the design? This site is a classic example of not over doing anything. It is about conversation and knowledge, and NOTHING else. An extra minute on table-less design would be a waste.
- kevinconroy 14y agoMinimum viable product = tables.
- debacle 14y agoThat's a huge oversight. The technical debt accrued by starting out with a table-based design isn't worth the half hour of coding it saves you.