News for hackers. Stuff that matters.
Re:PSD to HTML is Dead by thoughtpalette on Tuesday January 14, 2014 @12:19PM (#7058251)
"Nine out of ten times I want to do something with CSS I prefer doing it with JavaScript"

You're doing something wrong then.

Re:PSD to HTML is Dead by debt on Tuesday January 14, 2014 @12:47PM (#7058457)
center a div both vertically and horizontally to the viewport; also it should stay center when resized.
Re:PSD to HTML is Dead by thoughtpalette on Tuesday January 14, 2014 @12:49PM (#7058466)
Absolute Horizontal And Vertical Centering In CSS

http://coding.smashingmagazine.com/2013/08/09/absolute-horiz...

Re:PSD to HTML is Dead by debt on Tuesday January 14, 2014 @12:56PM (#7058524)
Truth. The div would need a variable height though which would change the design.
Re:PSD to HTML is Dead by proexploit on Tuesday January 14, 2014 @03:59PM (#7059679)
The page linked includes techniques for both variable height content (e.g. translate -50%) and fixed content.
Re:PSD to HTML is Dead by ptx on Tuesday January 14, 2014 @02:26PM (#7059118)
Although this used to be a problem with CSS, it has been fixed in modern browsers: http://philipwalton.github.io/solved-by-flexbox/demos/vertic...
Re:PSD to HTML is Dead by pjmlp on Wednesday January 15, 2014 @04:01AM (#7062330)
Now make it work across all browsers and operating systems required by your customer.
Re:PSD to HTML is Dead by elclanrs on Tuesday January 14, 2014 @07:53PM (#7060942)
You can use viewport units in modern browsers. See here http://caniuse.com/viewport-units