Convert multi-key generator to use CSS 'display: table' layout (but does not support col/row span)