News for hackers. Stuff that matters.
Re:Web Starter Kit by iLoch on Thursday June 19, 2014 @05:20PM (#7918376)
I think the problem comes from a lack of understand of the complexity of such a task. Vertical align text according to what? The easiest way to vertical align text is exactly how you'd expect it to be, and it solves the problem perfectly.

If you want to align text vertically, you just do

  font-size: 20px;
  line-height: 40px;
  vertical-align: middle;
What's the problem?
Re:Web Starter Kit by bybjorn on Friday June 20, 2014 @03:18AM (#7919811)
.. and then, when the content is wrapped over two lines you get a line-height that you set just to vertical align the text. Perfect? No :-)
Re:Web Starter Kit by joesb on Thursday June 19, 2014 @05:47PM (#7918483)
I assume that only work with single line text?