jQuery Mobile标题限制 [英] jQuery Mobile title limit

查看:105
本文介绍了jQuery Mobile标题限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

jQuery移动标题的限制是什么?多少个字符?我们如何更改此限制?使用jQuery mobile.谢谢.

What is the limit for jQuery mobile titles? How many characters? How do we change this limit? Working with jQuery mobile. Thanks.

推荐答案

您可以覆盖左侧的& .ui-title类的右边距为您留出更多空间,但请注意,因为这些边距用于确保文本不会干扰任何左&标头中有一些右键.

You can override the left & right margins on the .ui-title class to give yourself some more space, but be careful because the margins are used to make sure the text doesn't interfere with any left & right buttons you have in the header.

.ui-header .ui-title { margin-left: 1em; margin-right: 1em; }

使用clip而不是elipsis,您可能还会获得更多空间:

You might also get a bit more space using clip rather than elipsis:

.ui-header .ui-title { text-overflow: clip; }

这篇关于jQuery Mobile标题限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆