When the "Distance from top" setting is left blank, it is not vertically aligning the lightbox as I would have expected.

I am trying to middle align the content of the lightbox so it appears in the middle for all screen dimensions.

When I set my screen to its max dimension of 1440x900, lightbox automatically adds 60px of space at the top of the content. The content fits in the screen but it is about 200px of space at the bottom, so it's not being middle aligned.

When I set my screen size to 1024x768, it automatically sets 50px of distance from the top. Like this, the content does not fit onto the screen and I need to scroll down to see all of it. If the distance from the top was 30px, it would all fit in. From this, it seems the automatic distance from top is not being calculated correctly.

I know I can manually set the distance from top (in pixels) but I was hoping to middle align the content for all screen dimensions. Does anyone know how this can be achieved?