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
Post a Comment