On the site I am working on, I would like to know what the height of the main wrapper is, so I can vertically center the content.
Here is one of pages:
I tried both the following, but both return 0. I don't want to specifically set the height in my css if at all possible.
$("#main-wrapper").outerHeight();
$("#main-wrapper").height();
Is there a way to see what the height is? I feel like I have done that before, but not sure why this is not working or how I did that.
Thanks a lot for any comments.