よりも、私は1行のテーブルセルとそれが収まらない場合は省略し、最後の1で3つのdivたい: https://jsfiddle.net/prwrjy6r/1/divの長い親
<table>
<tr>
<td id="tablecell">
<div id="asd">
test
</div>
<div id="qwe">
1234123
</div>
<div id="yxc">
long text this is
</div>
</td>
</tr>
</table>
#asd {
width: 4em;
display: table-cell;
}
#qwe {
width: 4em;
display: table-cell;
}
#yxc {
display: table-cell;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#tablecell {
width: 10em;
border: solid;
}
テーブルセルのサイズは50%にする必要がありますが、これを試してみると、最後のdivはセル全体のサイズを拡大します。
なしあなたがhttps://jsfiddle.net/prwrjy6r/5/ – Kejt
望ん本ですが、PenAndPapersが、これは私がしたい正確に何である私の問題 –