title: CSS - border radius and solid border curved inside
body: <p>This style give a border with smoothed corners on the outside of the border but the insides of the corners are sqaured of, can I make them rounded as well?</p>
  
  <pre><code>img{
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  
  border:white solid 8px;
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/Th4PL.jpg" alt="enter image description here">
  Note the problem is only with images the suggestions submitted work only with a div.</p>