Gcobani Mkontwana

Gcobani Mkontwana

  • 565
  • 1.9k
  • 406.8k

How to align div class to the center using bootstrap?

Nov 6 2020 6:27 AM
Hi Team
 
  1. @{  
  2.     ViewBag.Title = "File-Upload";  
  3. }  
  4.   
  5. @using Syncfusion.EJ2;  
  6.   
  7. <div class="form-group xl-auto">  
  8.     <div class="control-section">  
  9.         @Html.EJS().FileManager("file").AjaxSettings(new Syncfusion.EJ2.FileManager.FileManagerAjaxSettings  
  10.                {  
  11.                    Url = "/Home/FileOperations",  
  12.                    GetImageUrl = "/Home/GetImage",  
  13.                    UploadUrl = "/Home/Upload",  
  14.                    DownloadUrl = "/Home/Download"  
  15.               }).Render()  
  16.     </div>  
  17. </div>  
 
I have bootstrap class, im using fileManager, the view is filling all this on my layout. How do i align this div class at least on the center? See below my View design it does not look good, it hid behind instead be in front.
 
 
 

Answers (1)