title: Distributing images evenly & horizontally in a Div via CSS
body: <p>I'm having a difficult time finding specific info for my case. I'd like to distribute 3 image thumbnails across a 940px div in order to line up with the rest of my content. So far, I've gotten the images to line up horizontally, but the spacing is off &amp; everything is shifted left. </p>
  
  <p><strong>Here is my CSS:</strong></p>
  
  <pre><code>#thumbs {   
    width: 940px;
    margin-top:90px;
    margin-left: auto; 
    margin-right: auto;
  }
  </code></pre>
  
  <p><strong>My HTML:</strong></p>
  
  <pre><code>&lt;div id="thumbs"&gt;
    &lt;a id="single_image" href="/dev/images/1.png"&gt;
      &lt;img src="/dev/images/thumb1.png" alt=""/&gt;
    &lt;/a&gt;
    &lt;a id="single_image" href="/dev/images/2.png"&gt;
      &lt;img src="/dev/images/thumb2.png" alt=""/&gt;
    &lt;/a&gt;
    &lt;a id="single_image" href="/dev/images/3.png"&gt;
      &lt;img src="/dev/images/thumb3.png" alt=""/&gt;
    &lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>Example Images</strong></p>
  
  <p><strong>What I currently have:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/touGX.png" rel="noreferrer"><img src="https://i.stack.imgur.com/touGX.png" alt="enter image description here"></a></p>
  
  <p><strong>What I'm trying to achieve:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/HDN2m.png" rel="noreferrer"><img src="https://i.stack.imgur.com/HDN2m.png" alt="enter image description here"></a></p>
  
  <p>Your help is much appreciated.</p>