News for hackers. Stuff that matters.
Re:The Elements of HTML by franze on Monday July 07, 2014 @09:32AM (#7998694)
<center>-al (central) information maybe? but yeah, i understand why they don't standardise it, but still i prefer a working <center> tag over

  {
      display: block;
      margin-left: auto;
      margin-right: auto;
  }
Re:The Elements of HTML by cozuya on Monday July 07, 2014 @09:55AM (#7998793)
You'll need width defined here too..
Re:The Elements of HTML by dheera on Monday July 07, 2014 @10:55AM (#7999163)
Agree. And also no valign="middle" in HTML5 <td> elements drives me crazy. I know I'm "supposed" to use CSS, but CSS should be simple. I shouldn't have to fight with silly non-intuitive negative margins and nested div hell just to center something. And then deal with IE's own artistic interpretation of that div hell.
Re:The Elements of HTML by chc on Monday July 07, 2014 @01:18PM (#7999945)
You don't need to use negative margins or anything. You just need the flexible box model (http://philipwalton.github.io/solved-by-flexbox/demos/vertic...).