Web Global Net Web Application & Web Development Project Center

Technical Issues => CSS Related => Topic started by: admin on June 19, 2019, 06:46: PM



Title: HTML 5 Centering with CSS
Post by: admin on June 19, 2019, 06:46: PM
This will enter what you want the trick is to use the display:block - images can then use this.

the width can be removed if you want too.

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}