我有很多TD的表,CSS是文本溢出:省略號不工作的編輯DIV
text-overflow: ellipsis;
white-space: nowrap;
overflow:hidden;
max-width:84px;
padding-left:10px;
一切工作正常,但我也對那些文本溢出一些TD可編輯的div :省略號;無法正常工作。
他們是隱藏的,但沒有...的內容
編輯
這裏我的HTML我使用生成表
<table>
<tr>
<th>First Name</th>
<th>Last Name</th>
<th>Job Title</th>
<th>Company</th>
<th>Email</th>
</tr>
<tr>
<td>ABC</td>
<td>XYZ</td>
<td>Software Engineer</td>
<td><div contenteditable="true">ABC Corporation</div></td>
<td><div contenteditable="true">[email protected]</div></td>
</tr>
</table>
得到了一些標記,我們呢? – Kyle