6 ms·
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
by dheera 12y ago
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.
- chc 12y agoYou don't need to use negative margins or anything. You just need the flexible box model (http://philipwalton.github.io/solved-by-flexbox/demos/vertical-centering/ http://philipwalton.github.io/solved-by-flexbox/demos/vertic...).