Unless you have the ability to explicitly set the height of your container (which doesnt look like that's the case), there is no cross browser solution for vertically centering your DIV container.
Using a table is completely viable, but you have noted that this cannot be used.
If javascript is an option, we could easily remedy this for you. A jQuery plugin already exists for vertically aligning a container.
(function ($) {
// VERTICALLY ALIGN FUNCTION
$.fn.vAlign = function() {
return this.each(function(i){
var ah = $(this).height();
var ph = $(this).parent().height();
var mh = (ph - ah) / 2;
$(this).css('margin-top', mh);
});
};
})(jQuery);
And you would vertically align a DIV block like so:
$('#example').vAlign();
Taken from Simple Vertical Align Plugin.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…