Re:The complete guide to centering a div
by olivier1664 on Monday February 03, 2014 @11:57PM
(#7175601)
Your technique is less good (on IE11) when you resize the width of the browser. The text finish outside the div, while DigitalSea's solution works well.
Re:The complete guide to centering a div
by grannyg00se on Monday February 03, 2014 @10:08AM
(#7170961)
That's great! And it seems to have pretty good browser support.
also doesn't require a fixed width http://codepen.io/anon/pen/vsliJ