display: table-cell works well when parent's display is set to table