Guest User

Guest User

  • Tech Writer
  • 2.1k
  • 469.7k

How to align div from left to right in bootstrap?

Sep 15 2020 4:05 AM
Hi Team
 
I have div class but, on _layout is not showing well its hidden and need it to be on the right, does anyone know to create this in bootstrap?
  1. <center>  
  2.       <div class="form-group row">  
  3.           <li class="static ui-state-default ui-corner-top ui-tabs-active ui-state-active" role="tab" tabindex="0" aria-controls="tab-0" aria-labelledby="ui-id-1" aria-selected="true">  
  4.               <a href="#tab-0" class="ui-tabs-anchor" role="presentation" tabindex="-1" id="ui-id-1">Everyone</a>  
  5.           </li>  
  6.           <form class="form-group ml-3">  
  7.               <div class="input-group input-group-sm">  
  8.                   <input class="form-control form-control-navbar" type="search" placeholder="Search" aria-label="Search">  
  9.                   <div class="input-group-append">  
  10.                       <button class="btn btn-navbar" type="submit">  
  11.                           <i class="fas fa-search"></i>  
  12.                       </button>  
  13.                   </div>  
  14.               </div>  
  15.           </form>  
  16.       </div>  
  17.   </center>  
 

Answers (3)