News for hackers. Stuff that matters.
Re:The complete guide to centering a div by _mtr on Sunday February 02, 2014 @04:07PM (#7167583)
DRY, though, right? Changing one set of CSS rules is better than hunting down 20 <center> elements when requirements change. Not to mention <center> is deprecated.
Re:The complete guide to centering a div by dangrossman on Sunday February 02, 2014 @05:43PM (#7167921)
When requirements change —

    center { text-align: left }
Re:The complete guide to centering a div by userbinator on Monday February 03, 2014 @06:18AM (#7170031)
A simple search-and-replace is enough to get all the <center> elements... and chances are when the requirements change, that's the least of the structural changes you'll have to make. IMHO all the CSS purists do is overcomplicate things.