[Solved] Is it possible to centre a footer box in HTML/CSS?


.footer {
    padding: 20px;
    width: 75%;
    background-color: white;
    color: black;
    font-family: "Exo", sans-serif;
    display: flex;
    justify-content: center;
}

You can use flexblox in order to align items in a one-dimensional way. I used the width you’ve given the body of your page (75%).

5

solved Is it possible to centre a footer box in HTML/CSS?