3 ms·
Remember when <center> was all you needed? Maybe with a valign'd table if you wanted to get fancy.
by pluc 6y ago
Remember when <center> was all you needed? Maybe with a valign'd table if you wanted to get fancy.
- woodrowbarlow 6y agoremember when `text-align: center` was all you needed? maybe with a `place-items: center` grid if you wanted to get fancy. (the vertical centering has always been the not-so-straightforward part. horizontal centering has always been easy. the current CSS techniques are just as easy as the HTML-only techniques you describe.)