So you want to center align a div within a div but it does not work as expected? for example this solution http://codepen.io/Tipue/pen/vsKif
did not work out for my divs.
No problemos! we call the "old" table solution to the rescue.
Setting display of parent as a table and then the child as table-cell did the trick.