Set footer height
Description
The following code shows how to set footer height.
Example
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet"
href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css" />
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script
src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>
<style type='text/css'>
.ui-mobile .ui-page .ui-footer {<!--from w w w.j av a 2 s. c o m-->
height: 30%;
}
.ui-mobile .ui-page .ui-footer>div, .ui-mobile .ui-page .ui-footer ul,
.ui-mobile .ui-page .ui-footer ul li, .ui-mobile .ui-page .ui-footer ul li a
{
height: 100%;
}
</style>
</head>
<body>
<div data-role="page">
<div data-role="content">Content</div>
<div data-role="footer" data-position="fixed">
<div data-role="navbar">
<ul>
<li><a href="" data-role="tab" data-icon="grid">View</a></li>
<li><a href="" data-role="tab" data-icon="grid" class="ui-btn-active">Add</a></li>
<li><a href="" data-role="tab" data-icon="grid">Edit</a></li>
</ul>
</div>
</div>
</div>
</body>
</html>