We would like to know how to cut long td element text inside a table.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.hidden {<!-- w ww .j a v a 2 s. com-->
white-space: nowrap;
overflow: hidden;
max-width: 90px;
}
</style>
</head>
<body>
<table>
<tr>
<td>content</td>
<td>content</td>
<td>content</td>
<td>content</td>
<td>content</td>
<td class="hidden">really long content that wraps instead of
hiding.</td>
</tr>
</table>
</body>
</html>
The code above is rendered as follows: