Page 65 - JqueryMobile_Manual
P. 65
65
<div class="ui-block-b">
<a href="#" class="ui-btn ui-corner-all ui-shadow">Second Column Button</a><br>
<span>Second Column: This is some text. This is some text. This is some text. This is some
text.</span>
</div>
</div>
</div>
</div>
</body>
</html>
Three-column layout
tryjqmob_grid_b.html
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
</head>
<body>
<div data-role="page" id="pageone">
<div data-role="header">
<h1>Columns</h1>
</div>
<div data-role="main" class="ui-content">
<p>Three-column Layout:</p>
<div class="ui-grid-b">
<div class="ui-block-a">
<a href="#" class="ui-btn ui-corner-all ui-shadow">First Column Button</a><br>
<span>First Column: This is some text. This is some text. This is some text. This is some text. This is
some text.</span>
</div>
<div class="ui-block-b">
<a href="#" class="ui-btn ui-corner-all ui-shadow">Second Column Button</a><br>
<span>Second Column: This is some text. This is some text. This is some text. This is some text.</span>
</div>
<div class="ui-block-c">
<a href="#" class="ui-btn ui-corner-all ui-shadow">Third Column Button</a><br>
<span>Third Column: This is some text. This is some text. This is some text. This is some text.</span>
</div>
</div>
</div>
</div>
</body>
</html>