Ответ 1
Это желаемый вид: http://jsfiddle.net/Uhz8k/? Это работает в Firefox 21+, Chrome 43+ (возможно, раньше) и IE11. Он не работает в IE9. (Не знаю об IE10.)
Ниже приведен код html:
<table class="table">
<tr>
<th>First</th>
<th>Second</th>
</tr>
<tr>
<td class="expand-column">
Some long long text here, Some long long text here, Some long long text here,
Some long long text here, Some long long text here, Some long long text here,
Some long long text here, Some long long text here, Some long long text here,
Some long long text here, Some long long text here, Some long long text here.
</td>
<td class="no-wrap"> Other text here </td>
</tr>
<tr>
<td class="expand-column">
Some other long text here, Some other long text here, Some other long text here,
Some other long text here, Some other long text here, Some other long text here,
Some other long text here, Some other long text here, Some other long text here,
Some other long text here, Some other long text here, Some other long text here.
</td>
<td class="no-wrap"> Some other text here </td>
</tr>
</table>
и CSS:
.table {
width: 100%;
border: 1px solid grey;
}
.expand-column {
max-width: 1px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
border: 1px solid grey;
}
.no-wrap {
white-space: nowrap;
border: 1px solid grey;
width: 1px;
}
th {
border: 1px solid grey;
}