我正在使用jQuery Mobile创建一个列表视图,我想要做类似于这个示例的东西: http://jquerymobile.com/demos/1.0a2/#docs/lists/lists-formatting.html
我有一个标题和一段很长的描述文本。 问题是如果屏幕太小(或者文本太长),我需要让文本换行,而不是像现在一样被截断并添加省略号 ...
<div data-role="content" data-theme="c">
<ul data-role="listview" data-theme="c">
<li>
<a href="tl1.html" data-transition="fade">
<img style="margin-left: 8px" width="80" height="80" alt="sample" src="images/sample_event.jpg" align="left"/>
My band
<br>
<font style="font-size: small">
Event description, enter the event description. Please enter the event description, event description enter. Add a description of the event.
</font>
</a>
</li>
</ul>
</div>
谢谢! Marco