2 ms·
After IE6, we can just center a div using inline-block, can't we? The outer element can have display: table-cell and the inner element would have vertical-alig
by EGreg 13y ago
After IE6, we can just center a div using inline-block, can't we?
The outer element can have display: table-cell and the inner element would have vertical-align: middle and display: inline-block.