News for hackers. Stuff that matters.
Re:CSS Absolute Centering by Negitivefrags on Saturday August 10, 2013 @06:37PM (#6192932)
I'm not sure that CSS is has the "Turing completeness" equivalent for layout that a programming language like Javascript has for computation.

That is to say, it's not possible to create any conceivable layout with CSS alone. It might be possible if the thing spits out Javascript as well.

Re:CSS Absolute Centering by jared314 on Saturday August 10, 2013 @06:47PM (#6192959)
You don't need turing completeness to be a compilation target, but you have the right idea with additional javascript. For a box-glue model, similar to Latex, you would have to make some adjustments when resizing. The generated code might end up similar to what twitter bootstrap does it, but one step more abstract.