Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>First of all, this is stupid... but it does work... however, it only works in certain cases and involves a ton of <em>silly</em> numbers. Definitely not modular. <a href="http://jsfiddle.net/sheriffderek/WCup6/" rel="nofollow">FIDDLE</a> (do I need to mention you'll need to resize your browser?)</p> <p>HTML</p> <pre><code>&lt;ul&gt; &lt;li&gt;01&lt;/li&gt; &lt;li&gt;02&lt;/li&gt; &lt;li&gt;03&lt;/li&gt; &lt;li&gt;04&lt;/li&gt; &lt;li&gt;05&lt;/li&gt; &lt;li&gt;06&lt;/li&gt; &lt;/ul&gt; </code></pre> <p>CSS</p> <pre><code>/* apply a natural box layout model to all elements */ * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; padding: 0; margin: 0; } ul { list-style: none; padding: 0; margin: 0; width: 4em; border: 1px solid orange; overflow: hidden; /* in place of clearing float */ } ul li { position: relative; /* for the negative top distance to work */ display: inline-block; border: 1px solid red; width: 2em; height: 2em; float: left; clear: left; } ul li:nth-of-type(n+4) { float: right; clear: none; top: -6em; } @media (min-width: 30em) { ul { width: auto; float: left; } ul li { float: left; clear: none; border: 1px solid green; } ul li:nth-of-type(n+4) { float: left; top: 0; } } /* =========== end === */ </code></pre> <p>I'm betting there is a nice jQuery something for this... If your table isn't being dynamically populated with different amounts of information - you could do something like this cosmetically or use some absolute positioning - columns is probably the way to go though. Good luck... </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload