Skip to content
Loading
Modal popup is stretched away from the original center  
  •               
  •           
  •       
  •   
  •   
  •   
  •   
  •   
  •   
  • .vertical-alignment-helper {  
  •     display:table;  
  •     height: 100%;  
  •     width: 100%;  
  • }  
  • .vertical-align-center {  
  •     /* To center vertically */  
  •     display: table-cell;  
  •     vertical-align: middle;  
  • }  
  • .modal-content {  
  •     /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */  
  •     width:inherit;  
  •     height:inherit;  
  •     /* To center horizontally */  
  •     margin: 0 auto;  

  •  
    +1
  • Sachin the code works fine, how if i am closing the modal popup, it must close and _layout.cshtml must be clear to me its blur. Let me share the screen. It forces me to refresh the web page every time, its not very good.
    0