Vertically center a block of unknown height

.frame {
    display: table;
    width: 100%;
    height: 320px;
}

.frame > .cell {
    display: table-cell;
    vertical-align: middle;
}