Re:The complete guide to centering a div
by _mtr on Sunday February 02, 2014 @08:15PM
(#7168342)
> 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.
Re:The complete guide to centering a div
by Zarel on Sunday February 02, 2014 @08:28PM
(#7168369)
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).
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ce...