title: HTML/CSS - Display:inline not working
body: <p>I need some help with my website. I am struggling to achieve that three pictures are shown as "display:inline", which means next to each other and not under each other.</p>
  
  <p>I can't find my mistake and would welcome and hints.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.trikot {
    max-width: 1050px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    margin-left: 10px;
    margin-top: 10px;
    display: inline;
  }
  .trikotset {
    margin-top: 15px;
    margin-left: 10px;
    height: 150px;
  }
  #buy_button {
    background-color: #9c1737;
    width: 100px;
    display: block;
    margin-left: 35px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;section class="trikot"&gt;
    &lt;div id="trikot1"&gt;
      &lt;img class="trikotset" src="img/trikot.jpg"&gt;
      &lt;button id='buy_button' type='button'&gt;Jetzt Kaufen&lt;/button&gt;
    &lt;/div&gt;
    &lt;div id="trikot2"&gt;
      &lt;img class="trikotset" src="img/hose.jpg"&gt;
      &lt;button id='buy_button' type='button'&gt;&lt;a href=&gt;Jetzt Kaufen&lt;/button&gt;
    &lt;/div&gt;
    &lt;div id="trikot3"&gt;
    &lt;img class="trikotset" src="img/traningsanzug.jpg"&gt;
    &lt;button id='buy_button' type='button'&gt;&lt;a href=&gt;Jetzt Kaufen&lt;/button&gt;
    &lt;/div&gt;
    &lt;/section&gt; </code></pre>
  </div>
  </div>
  </p>