jQuery Mobile< LI>文字长度 [英] JQuery Mobile <LI> Text length
本文介绍了jQuery Mobile< LI>文字长度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用JQuery Mobile,并且有一个<LI>
带有一些长文本(A描述).
I am using JQuery Mobile and have an <LI>
with some long text (A Description).
我的问题是它只显示几个单词,后跟"..."(3个点)
My problem is that it's only displaying a few words following by "..." (3 dots)
请问如何显示整个字符串?
How can I make it show the whole string please?
推荐答案
,然后用例如white-space: normal;
代替现有的white-space: nowrap;
and then overwrite/replace/add your own the .ui-li-desc
for example with white-space: normal;
instead the existing white-space: nowrap;
因此您可以:
这篇关于jQuery Mobile< LI>文字长度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文