My website features circles that display various percentages. Each circle contains text indicating the percentage amount, as well as a short description underneath. While I have successfully centered all the text elements, I am facing difficulty centering the circles themselves. I have tried using:
margin-left: auto;
margin-right: auto;
According to online resources, this method is recommended for centering elements on a website, especially for responsiveness. However, simply applying percentages to the circles has not solved the issue. For instance:
margin-left: 20%;
This results in the circle appearing centered on an iPhone 6, but not on an iPhone 5 or 4.
Below, I am providing additional code snippets in hopes of clarifying my problem further: