[Solved] Html noobs layouting


Assuming you are using bootstrap, you need to use the .input-group-button class…

DEMO

<div class="input-group">
  <span class="input-group-addon" id="basic-addon1">www</span>
  <input type="text" class="form-control" placeholder="Url" ng-model="currentUrl">

  <span class="input-group-btn">
    <input type="button" class="btn btn-primary" value="Go" ng-click="getUrl()">
  </span>
</div>

The docs

solved Html noobs layouting