html - input textfield with button on the right and not stacked in mobile using bootstrap -


i trying achieve effect time no success. need button of search form on right side of textfield in both desktop , mobile view using bootstrap classes. th button comes on bottom of textfield no matter do. need both textfield + button centered in both desktop , mobile view.

<header class="jumbotron masthead mastheadcstm">   <div class="container">     <div class="row-fluid">       <div class="offset3 span6 offset3">         <form>           <input type="text" placeholder="engineer etc etc">           <button type="submit" class="btn btn-primary">search!</button>         </form>       </div>     </div>   </div> </header> 

like this

demo

css

  .offset3{         text-align:center;     } 

Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -