css - How to show label but not move other elements in div? -


i have div:

div class="@b.classtag"> <h1>search</h1> <p>enter_pin:</p>  <input type="text" class="form-control" ng-model="pin"> <label style="color:red;" ng-show="notfound">not_found"</label> <input type="submit" value="search" class="btn btn-search" ng-click="showdetails(pin);"> </div> 

it looks fine when label hide when user click on submit button , label displays buton goes on bottom, how can display label not disrupt or move button

or can set position:absolute; on label , wont have effect on other elements, have position label right place


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -