title: DIVs don’t vertically align in horizontally scrolling DIV
body: <p>I’m trying to make a <code>&lt;div&gt;</code> with horizontal scroll only, and I achieved this by using <code>&lt;span&gt;</code>s with <code>white-space: no-wrap;</code> within a <code>&lt;div&gt;</code> with <code>overflow-x: scroll;</code>. The problem is that I can’t use paragraphs with wrapping text within these <code>&lt;span&gt;</code>s, because it breaks the layout in Chrome.</p>
  
  <p>These are what I want (works in Firefox) and what I’ve got in Chrome:</p>
  
  <p><a href="https://i.stack.imgur.com/mmq6w.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mmq6w.png" alt="In Chrome only the first box in the horizontally scrolling DIV is aligned to the top, the other ones are a bit below. In Firefox all boxes are aligned properly."></a></p>
  
  <p>The problem happens every time a paragraph text wraps inside the <code>&lt;span&gt;</code>s.</p>
  
  <p>This is my HTML and CSS:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.info {
    width: 250px;
    height: 200px;
    float: left;
  }
  .list {
    height: 200px;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
  }
  .item {
    height: 175px;
    width: 175px;
    display: inline-block;
    margin-left: 5px;
    overflow: hidden; /* without this, the layout breaks in Firefox, too */
  }
  .item * {
    white-space: normal;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="listOne red"&gt;
    &lt;div class="info blue"&gt;
      &lt;p&gt;Info regarding this list of items&lt;/p&gt;
    &lt;/div&gt;
    &lt;div class="list orange"&gt;
      &lt;span class="item yellow"&gt;
        &lt;p&gt;text&lt;/p&gt;
        &lt;p&gt;more text, in another line, now wrapping&lt;/p&gt;
        &lt;p&gt;and etc and etc&lt;/p&gt;
      &lt;/span&gt;
      &lt;span class="item yellow"&gt;
       &lt;p&gt;second item&lt;/p&gt;
      &lt;/span&gt;
      &lt;span class="item yellow"&gt;
       &lt;p&gt;third item&lt;/p&gt;
      &lt;/span&gt;
      &lt;span class="item yellow"&gt;
       &lt;p&gt;and more&lt;/p&gt;
      &lt;/span&gt;
    &lt;/div&gt;
    &lt;div class="clear"&gt;&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Does someone know how to fix this? Or does someone know another way to make this <code>&lt;div&gt;</code> with horizontal scroll? (I’m using fluid layout, so my orange <code>div</code> does not have a fixed width).</p>