I got a table-cell with fixed width and height and if text is too large, cell size should remain the same and text should be hidden by overflow:hidden.
div {
display: table-cell
height: 100px;
width: 100px;
overflow: hidden;
vertical-align: middle;
}
Table-cell, however, expands beyond 100px if too much text is added. Any tricks to prevent it from expanding?
Text should be several lines in length, so "white-space:nowrap" solution is not applicable