I am having an issue with a circular border leaving a minor gap between the <img>
and the border. This error happens with Chrome, Safari, and Firefox that I've tested. It does not happen when border-radius
is 0.
In the second image you can see a small gap between the image and the border. How can I fix this?
The relevant css is:
border-radius:100px;
border:6px solid #202020;
The css is on the img tag as a style attribute. The answer in this question did not work.
Here is a fiddle reproducing the problem https://jsfiddle.net/8r8zcjvh/2/