jQuery Mobile的冠軍位置,我有我在iPhone(iOS 5中),這不正常大小運行一個簡單的應用程序和位置後退按鈕和標題文本。標題文本被放在按鈕下面。我猜jQuery Mobile並沒有像預期的那樣大小/定位事物...與按鈕
我後面的是標題文本被截斷並開始在後退按鈕的右側。標題右側不會有其他按鈕,所以如果它進入頁面右側就沒有問題了。
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css"/>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script> </head>
<body>
<div data-role="page">
<div data-role="header">
<a data-icon="arrow-l" data-rel="back">A long button</a>
<h1>A very very very long title</h1>
</div>
<div data-role="content">
<p>Page content goes here.</p>
</div>
<div data-role="footer">
<h4>Page Footer</h4>
</div>
</div>
</body>
</html>
可運行的例子是:http://jsfiddle.net/5n8WN/
我沒有看this answer,但我也嘗試沒有得到我需要什麼。