I am attempting to position an image at the center of a footer widget. I have gone through various solutions recommended here, but I am unsure if I am implementing the code correctly.
Here is my CSS:
#footer img.center {
display: block;
margin-left: auto;
margin-right: auto;
}
And this is my HTML:
<img class="display" src="....">