The following code shows how to pull Input group to right.
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<link rel="stylesheet" type="text/css"
href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
</head><!--from www.j a v a2s . c om-->
<body>
<form class="col-md-3 input-group pull-right" method="GET">
<input type="text" name="search" id="id_search" class="form-control"
maxlength="200"> <span class="input-group-btn"> <input
type="submit" class="btn btn-default btn-group" name="submit_search"
value="Buscar">
</span>
</form>
</body>
</html>