0
在jquery mobile中:如何在使用class ui-li-aside時停止在listview中的文本溢出。
嘗試所有類型的位置,包括相對,靜態,絕對。我希望文本不溢出,但用省略號收官ui-li-aside文本重疊文本溢出jquery mobile
在jquery mobile中:如何在使用class ui-li-aside時停止在listview中的文本溢出。
嘗試所有類型的位置,包括相對,靜態,絕對。我希望文本不溢出,但用省略號收官ui-li-aside文本重疊文本溢出jquery mobile
一個加省略號的方法是添加表。下面的示例代碼
<li>
<a href="#pcontent?id=100" >
<table width="75%" style="table-layout:fixed;">
<tr width="100%">
<td style="display:block;overflow:hidden;text-overflow:ellipsis;white-space:no-wrap">
1. Indian Combo - Vegetarian</td>
</tr>
</table>
</a>
<p class="ui-li-aside" style="top:0.98em;font-size:16px;"><strong>$10.95</strong></p>
</li>