if you want to swim to the right, you use the built-in class "pull-right"
<div class="pull-right">...</div>
and to search for more promising will be
<form class="form-search"> <div class="input-append" > <input type="text" class="span2 search-query input-large" placeholder="search posts,users.."> <button type="submit" class="btn"><i class="icon-search"></i></button> </div>
and to save distance you can use margin
margin:10px
source share