Re:Learn CSS
by sodapopcan on Friday May 21, 2021 @01:44PM
(#27237327)
I resent the "(ab)" in "(ab)use tables for layout"... it was all we had AND was still better at vertically centring things until Flexbox arrived!
[ Parent
| on HN ]
Abuse only in the sense they were not designed for this purpose. Like people using <blockquote> to create margins.
It is like using a screwdriver to knock in a nail because you don't have a hammer - better than nothing, but not what a screwdriver is designed for.
Re:Learn CSS
by sodapopcan on Saturday May 22, 2021 @09:03PM
(#27251620)
A table is an extension of a grid and therefore actually in the same ballpark as the proper tool for layout whereas using <blockquote> to create margins is totally random (though perhaps someone could stretch an explanation).
It's of course pedantic to discuss all this now as those days are thankfully long gone :D