Reply To: centre a div in a section

Home Forums Support centre a div in a section Reply To: centre a div in a section

#230205
Tom
Lead Developer
Lead Developer

That’s definitely one way 🙂

If you want to use your #icons div, you can do this:

#icons {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

margin: 0 auto only works if the element has a width.