Group three button to header right
Description
The following code shows how to group three button to header right.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.9.1.js'></script>
<script type="text/javascript"
src="http://code.jquery.com/mobile/1.3.0-beta.1/jquery.mobile-1.3.0-beta.1.js"></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/1.3.0-beta.1/jquery.mobile-1.3.0-beta.1.css">
</head><!-- w ww . ja v a 2 s . c o m-->
<body>
<div data-role="page">
<div data-role="header" data-theme="b">
<h1 class="ui-title" role="heading" id="hdr">My Cases</h1>
<div class="ui-btn-right" id="addbuttons" data-role="controlgroup"
data-type="horizontal">
<a href="#" data-role="button" data-inline="true"
data-iconpos="notext" data-icon="gear" data-theme="b">Edit</a>
<a
href="#newevent1" data-role="button" data-iconpos="notext"
data-inline="true" data-icon="plus" data-theme="b"
data-rel="dialog">Add</a>
<a href="#newevent1" data-role="button"
data-inline="true" data-theme="b" data-rel="dialog">Edit</a>
</div>
</div>
</body>
</html>