Multi-Row Grid
Description
To add an additional row, simply repeat the block pattern of the first row for each consecutive row.
Example
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Grid Example</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
<style>
.ui-block-a {<!--from w w w. j a va2 s . co m-->
height: 40px;
}
</style>
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
</head>
<body>
<div data-role="page" id="home">
<div data-role="header">
<h1>Multi-Row Grid</h1>
</div>
<div data-role="content">
<div class="ui-grid-d" style="text-align: center;">
<!-- First row -->
<div class="ui-block-a">Column</div>
<div class="ui-block-b">Column</div>
<div class="ui-block-c">Column</div>
<div class="ui-block-d">Column</div>
<div class="ui-block-e">Column</div>
<!-- Second row -->
<div class="ui-block-a">Column</div>
<div class="ui-block-b">Column</div>
<div class="ui-block-c">Column</div>
<div class="ui-block-d">Column</div>
<div class="ui-block-e">Column</div>
<!-- Third row -->
<div class="ui-block-a">Column</div>
<div class="ui-block-b">Column</div>
<div class="ui-block-c">Column</div>
<div class="ui-block-d">Column</div>
<div class="ui-block-e">Column</div>
</div>
</div>
</div>
</body>
</html>