title: Create horizontally scrolling List Item view using Bootstrap Columns
body: <p>I would like to display a number of records in a horizontally scrolling div.  I'm using Twitter Bootstrap and have setup a div row with each data record represented as a column.</p>
  
  <p>If I need to dump Bootstrap grid for this part then that is fine, I'm not really using it the way it was designed I suspect... If I were to not use Twitter Bootstrap for this part then my question is almost identical to <a href="https://stackoverflow.com/questions/9672176/prevent-floated-divs-from-wrapping-to-new-line">Prevent floated divs from wrapping to new line</a>.  The problem with the accepted answer on this question is that it assumes you can calculate the total width of your container.  In my case the number of item div's is dynamic.</p>
  
  <p>I'm looking for a pure CSS/HTML solution.  If Javascript is required, I am using AngularJS with no jQuery.</p>
  
  <p>My Example: <a href="http://jsfiddle.net/V5zWT/2/" rel="nofollow noreferrer">http://jsfiddle.net/V5zWT/2/</a></p>
  
  <p><strong>CSS</strong></p>
  
  <pre><code>.DocumentList
  {
      overflow-x:scroll;
      overflow-y:hidden;
      height:200px;
      width:100%;
      padding: 0 15px;
  }
  
  .DocumentItem
  {
      border:1px solid black;
      padding:0;
      height:200px;
  }
  </code></pre>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;div class="DocumentList"&gt; 
      &lt;div class="row"&gt;
          &lt;div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 DocumentItem"&gt;
              Record 12345
              &lt;br/&gt;
              More data
              &lt;br /&gt;
          &lt;/div&gt;
          &lt;div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 DocumentItem"&gt;
              Record 12345
              &lt;br/&gt;
              More data
              &lt;br /&gt;
          &lt;/div&gt;
          &lt;div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 DocumentItem"&gt;
              Record 12345
              &lt;br/&gt;
              More data
              &lt;br /&gt;
          &lt;/div&gt;
          &lt;div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 DocumentItem"&gt;
              Record 12345
              &lt;br/&gt;
              More data
              &lt;br /&gt;
          &lt;/div&gt;
          &lt;div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 DocumentItem"&gt;
              Record 12345
              &lt;br/&gt;
              More data
              &lt;br /&gt;
          &lt;/div&gt;
          &lt;div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 DocumentItem"&gt;
              Record 12345
              &lt;br/&gt;
              More data
              &lt;br /&gt;
          &lt;/div&gt;
          &lt;div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 DocumentItem"&gt;
              Record 12345
              &lt;br/&gt;
              More data
              &lt;br /&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>As you can see from the fiddle, only the first 4 records are displayed.  Because of the CSS float (I'm assuming) the scroll bar does not activate and the other records are not shown. If I don't hide overflow-y then I can scroll down and see the hidden records, but that's not what I am going for.</p>