I would like to center a div vertically within a containing div without having to manually figure the height of the containing div, and then applying the appropriate top margin to the inner div.
I know you can't use margin: auto 0;.
So, what are my options? Can I do this with javascript?