News for hackers. Stuff that matters.
Re:CSS4 Preview – Selectors by yaix on Wednesday March 07, 2012 @02:51AM (#3674716)
There is one good point in the comments: "MATH! We need math! 50% -5px It’s stupid having to do things like this in JS."

Completely agree! It should be possible to do this.

And please: vertical-align:center for any block element. Or is that in CSS3 and I am not aware of it?

Re:CSS4 Preview – Selectors by Twisol on Wednesday March 07, 2012 @03:42AM (#3674823)
You can use calc (https://developer.mozilla.org/en/CSS/calc), but it isn't well supported.