案例:jquery Mobile案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<link rel="stylesheet" href="/js/jquery.mobile-1.3.2.min.css">
5
<script src="/js/jquery-1.8.3.min.js"></script>
6
<script src="/js/jquery.mobile-1.3.2.min.js"></script>
7
</head>
8
<body>
9
10
<div data-role="page" id="pageone">
11
  <div data-role="header">
12
  <h1></h1>
13
  </div>
14
15
  <div data-role="content">
16
   <p>两列布局:</p>
17
   <div class="ui-grid-a">
18
     <div class="ui-block-a"><a href="#" data-role="button">第一列按钮</a><br>
19
       <span>第一列:This is some text. This is some text. This is some text. This is some text. This is some text.</span>
20
     </div>
21
     <div class="ui-block-b">
22
       <a href="#" data-role="button">第二列按钮</a><br>
23
       <span>第二列:This is some text. This is some text. This is some text. This is some text.</span>
24
     </div>
25
   </div>
26
  </div>
27
</div> 
28
29
</body>
30
</html>
31