How to center a div in modal?

 

Before applying the code




                                                                After applying the code 

                                 



Use the below code to center a div in modal

                      text-align: -webkit-center;
                      margin-left: 10px;

This will make your div center in modal in all the screens whether it is a small size screen of  640px or it is a large size of 1940px

Comments

Popular posts from this blog

How to work with MySQL client package in MacBook

Issue with Pushing Code after Merging Changes from Multiple Branches