Re:The complete guide to centering a div
by runn1ng on Sunday February 02, 2014 @08:06PM
(#7168316)
....
will not work?
[ Parent
| on HN ]
> This feature has been removed from the Web. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ce...
It also won't work because <center> controls text alignment and will have no effect on the alignment of a div (it will center its contents, though) (also this isn't entirely true, centering text will also center divs in IE6 and earlier).