Category: CSS + HTML

0

Align text vertical center in DIV with CSS

CSS: #container { display: table; } #inner { display: table-cell; vertical-align: middle; line-height: normal; } HTML: <div id=container><div id=inner>The TEXT here!</div>