margin-top: auto; margin-bottom: auto;you mean.. No that does not work, auto margins only work horizontally. If you know the elements height, vertically centering something is easy, but if you don't know, it's hard to get working and impossible to do right, because there is no official right way to do it.
0
u/[deleted] Jun 24 '14
[deleted]