我正在使用jQuery Mobile的列表视图,我正在尝试类似于此示例的操作:
http://jquerymobile.com/demos/1.0a2/#docs/lists/lists-formatting.html
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>
谢谢!
马尔科
解决方法
我做的是添加空格:正常;到该部分的CSS.希望有帮助.
原文地址:https://www.jb51.cc/jquery/179133.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。