News for hackers. Stuff that matters.
Re:The complete guide to centering a div by hesslau_ on Sunday February 02, 2014 @09:07PM (#7168457)
My favourite technique: position absolute and top: 0 bottom: 0 left: 0 right: 0

also doesn't require a fixed width http://codepen.io/anon/pen/vsliJ

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.